def test_with_timestream_ext_jpg_cs(self):
     # with incorrect capitialisation
     res = all_files_with_exts(helpers.FILES["timestream_manifold"],
                               ["jpg", ], cs=True)
     self.assertTrue(isinstance(res, dict))
     self.assertDictEqual(res, {"jpg": []})
     # With correct capitilisation
     res = all_files_with_exts(helpers.FILES["timestream_manifold"],
                               ["JPG", ], cs=True)
     self.assertTrue(isinstance(res, dict))
     self.assertDictEqual(res, {"JPG": helpers.TS_MANIFOLD_FILES_JPG})
 def test_with_timestream_ext_jpg_tsm(self):
     res = all_files_with_exts(helpers.FILES["timestream_manifold"],
                               ["jpg", "tsm"])
     self.assertTrue(isinstance(res, dict))
     expt = {
         "jpg": helpers.TS_MANIFOLD_FILES_JPG,
         "tsm": helpers.TS_MANIFOLD_FILES_TSM,
     }
     self.assertDictEqual(res, expt)
 def test_with_timestream_ext_jpg(self):
     res = all_files_with_exts(helpers.FILES["timestream_manifold"],
                               ["jpg", ])
     self.assertTrue(isinstance(res, dict))
     self.assertDictEqual(res, {"jpg": helpers.TS_MANIFOLD_FILES_JPG})