Browse Source

fix tests

Bastien Sevajol 1 year ago
parent
commit
47fb16e347
2 changed files with 4 additions and 4 deletions
  1. 2 2
      tests/strategy/test_teams.py
  2. 2 2
      tests/test_state.py

+ 2 - 2
tests/strategy/test_teams.py View File

@@ -45,7 +45,7 @@ def test_team_stash__ok__get_teams(
45 45
     assert isinstance(stash.teams[1], TeamModel)
46 46
 
47 47
     assert 'std_team' == stash.teams[0].id
48
-    assert 'Standard team' == stash.teams[0].name
48
+    assert 'Standard USSR team' == stash.teams[0].name
49 49
     assert 'USSR' == stash.teams[0].country
50 50
     assert stash.teams[0].units
51 51
     assert 4 == len(stash.teams[0].units)
@@ -56,7 +56,7 @@ def test_team_stash__ok__get_teams(
56 56
     assert 'std_soldier' == stash.teams[0].units[3].id
57 57
 
58 58
     assert 'std_team' == stash.teams[1].id
59
-    assert 'Standard team' == stash.teams[1].name
59
+    assert 'Standard DE team' == stash.teams[1].name
60 60
     assert 'DE' == stash.teams[1].country
61 61
     assert stash.teams[0].units
62 62
     assert 4 == len(stash.teams[1].units)

+ 2 - 2
tests/test_state.py View File

@@ -156,7 +156,7 @@ def test_state__ok__dump(
156 156
                 </item>
157 157
                 <item>
158 158
                     <key>SIDE</key>
159
-                    <value>AXIS</value>
159
+                    <value>SIDE_AXIS</value>
160 160
                 </item>
161 161
             </properties>
162 162
         </subject>
@@ -176,7 +176,7 @@ def test_state__ok__dump(
176 176
                 </item>
177 177
                 <item>
178 178
                     <key>SIDE</key>
179
-                    <value>ALLIES</value>
179
+                    <value>SIDE_ALLIES</value>
180 180
                 </item>
181 181
             </properties>
182 182
         </subject>