Ver Fonte

Renamed test to better reflect what its doing (and fixed bug)

Michael Denker há 11 meses atrás
pai
commit
dcb27fbfe0
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      code/reachgraspio/test_reachgraspio.py

+ 2 - 2
code/reachgraspio/test_reachgraspio.py

@@ -76,8 +76,8 @@ class RGIOTestCase(unittest.TestCase):
                         valid_ids = trial_ids[trial_ids != -1]
                         self.assertTrue(all(np.diff(valid_ids) >= 0))
 
-    def test_rejection_annotations_present(self):
-        for block in [self.blocks[1]]:#self.blocks:
+    def test_data_annotations_present(self):
+        for block in self.blocks:
             for seg in block.segments:
                 for anasig in seg.analogsignals:
                     if anasig.annotations['neural_signal']: