def test_good_ts_with_no_manifold(self): """Test _ts_has_manifest with a TS without a manifold""" res = _ts_has_manifest(helpers.FILES["timestream_nomanifold"]) self.assertFalse(res)
def test_good_ts_with_manifold(self): """Test _ts_has_manifest with a TS with a manifold""" res = _ts_has_manifest(helpers.FILES["timestream_manifold"]) self.assertEqual(res, path.join(helpers.FILES["timestream_manifold"], "BVZ0022-GC05L-CN650D-Cam07~fullres-orig.tsm"))