Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Apr 9, 2024
1 parent b38c33e commit dba7f4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unittests/data/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_mock_any(self):
set_config("Machine", "version", ANY_VERSION)
# check there is a value not what it is
machine = MachineDataView.get_machine()
self.assertGreaterEqual(1, machine.n_chips)
self.assertGreaterEqual(machine.n_chips, 1)

def test_mock_4_or_more(self):
# Should work with any version
Expand All @@ -110,12 +110,12 @@ def test_mock_4_or_more(self):
machine = MachineDataView.get_machine()
self.assertGreaterEqual(machine.n_chips, 4)

def test_mockFourPlus(self):
def test_mockAny(self):
# Should work with any version
set_config("Machine", "version", ANY_VERSION)
# check there is a value not what it is
machine = MachineDataView.get_machine()
self.assertGreaterEqual(4, machine.n_chips)
self.assertGreaterEqual(machine.n_chips, 1)

def test_mock3(self):
# Should work with any version
Expand Down

0 comments on commit dba7f4e

Please sign in to comment.