diff options
Diffstat (limited to 'diplomacy/tests/test_map.py')
-rw-r--r-- | diplomacy/tests/test_map.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/diplomacy/tests/test_map.py b/diplomacy/tests/test_map.py index 507efae..6a12f71 100644 --- a/diplomacy/tests/test_map.py +++ b/diplomacy/tests/test_map.py @@ -55,8 +55,9 @@ def test_drop(): def test_compact(): """ Tests map.compact """ this_map = deepcopy(Map()) + # Power name at top of string is removed by Map.compact(). assert this_map.compact('England: Fleet Western Mediterranean -> Tyrrhenian Sea. (*bounce*)') \ - == ['ENGLAND', 'F', 'WES', 'TYS', '|'] + == ['F', 'WES', 'TYS', '|'] def test_norm_power(): """ Tests map.norm_power """ |