test/pxi6733: remove useless checks

This commit is contained in:
Sebastien Bourdeauducq 2015-04-21 16:10:46 +08:00
parent 69388ccc1a
commit e27844e0f7
1 changed files with 0 additions and 3 deletions

View File

@ -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")