def test_identify_code_via_data(self):
     d = data.Data(code_sample_path)
     self.assertEqual(d.loader.code_info,
                      ("fargocpt", "0.1", "legacy_output"))
Example #2
0
 def test_init(self):
     self.data = data.Data("samples/example")
 def setUp(self):
     self.d = data.Data(code_sample_path)