Skip to content
Snippets Groups Projects
Commit 559f7150 authored by Martin Högstedt's avatar Martin Högstedt
Browse files

forgot to make changes in tests aswell as add the correct slot for breakpoint

parent a454d235
No related branches found
No related tags found
1 merge request!23Added slots to non-gui modules
Pipeline #132142 failed
class Breakpoint:
__slots__ = "_is_enabled"
__slots__ = "is_enabled"
"""
Base class for beakpoints, intended to be subclassed.
......
......@@ -38,7 +38,6 @@ def test_get_state():
assert state["name"] == "Mux"
assert state["value"] == 7
assert state["bit_length"] == 5
assert state["mask"] == 31
def test_set_state():
......@@ -58,9 +57,8 @@ def test_set_state():
mux.set_state(state)
assert mux.name == "Mux"
assert mux.value == 6
assert mux.bit_length == 2
assert mux.mask == 3
assert mux._value == 6
assert mux._bit_length == 2
def test_writing_to_output():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment