mirror of https://github.com/m-labs/artiq.git
test/pxi6733: remove useless checks
This commit is contained in:
parent
69388ccc1a
commit
e27844e0f7
|
@ -14,17 +14,14 @@ class GenericPXI6733Test:
|
||||||
def test_load_sample_values(self):
|
def test_load_sample_values(self):
|
||||||
test_vector = np.array([1.0, 2.0, 3.0, 4.0], dtype=float)
|
test_vector = np.array([1.0, 2.0, 3.0, 4.0], dtype=float)
|
||||||
self.cont.load_sample_values(test_vector)
|
self.cont.load_sample_values(test_vector)
|
||||||
self.assertTrue(True)
|
|
||||||
|
|
||||||
def test_close_1(self):
|
def test_close_1(self):
|
||||||
self.cont.close()
|
self.cont.close()
|
||||||
self.assertTrue(True)
|
|
||||||
|
|
||||||
def test_close_2(self):
|
def test_close_2(self):
|
||||||
test_vector = np.array([1.0, 2.0, 3.0, 4.0], dtype=float)
|
test_vector = np.array([1.0, 2.0, 3.0, 4.0], dtype=float)
|
||||||
self.cont.load_sample_values(test_vector)
|
self.cont.load_sample_values(test_vector)
|
||||||
self.cont.close()
|
self.cont.close()
|
||||||
self.assertTrue(True)
|
|
||||||
|
|
||||||
|
|
||||||
@unittest.skipUnless(pxi6733_device, "no hardware")
|
@unittest.skipUnless(pxi6733_device, "no hardware")
|
||||||
|
|
Loading…
Reference in New Issue