Esempio n. 1
0
def test_l10n_dict(test_file):
    m = Miz(test_file)
    with pytest.raises(RuntimeError):
        assert m.l10n
    m.unzip()
    m.decode()
    assert isinstance(m.l10n, dict)
Esempio n. 2
0
def test_map_resources(test_file):
    m = Miz(test_file)
    with pytest.raises(RuntimeError):
        assert m.map_res
    m.unzip()
    m.decode()
    assert isinstance(m.map_res, dict)
Esempio n. 3
0
def test_mission_dict(test_file):
    m = Miz(test_file)
    with pytest.raises(RuntimeError):
        assert m.mission
    m.unzip()
    m.decode()
    assert isinstance(m.mission, Mission)