소스 검색

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

Michael Denker 11 달 전
부모
커밋
dcb27fbfe0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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']: