def test_get_file_info_map(self):
     files = (
         ("test", "f", False, 512, 0, 420, 0, 0),
     )
     map = layers.get_file_info_map(files)
     self.assertIn("test", map)
     self.assertTrue(map['test'], ("f", False, 512, 0, 420, 0, 0))
Ejemplo n.º 2
0
 def test_get_file_info_map(self):
     files = (
         ("test", "f", False, 512, 0, 420, 0, 0),
     )
     map = layers.get_file_info_map(files)
     assert "test" in map
     assert map['test'] == ("f", False, 512, 0, 420, 0, 0)
 def test_get_file_info_map(self):
     files = (("test", "f", False, 512, 0, 420, 0, 0), )
     map = layers.get_file_info_map(files)
     self.assertIn("test", map)
     self.assertTrue(map['test'], ("f", False, 512, 0, 420, 0, 0))