def test_map_loading_2(self, mock_load): screen = (300, 300) tmx.load('testdata/maps/level2.tmx', screen) assert mock_load.called
def test_map_loading(self): screen_mock = (300, 300) tmx.load('testdata/maps/level1.tmx', screen_mock)