Browse Source

fix tests

Bastien Sevajol 6 years 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
     assert isinstance(stash.teams[1], TeamModel)
45
     assert isinstance(stash.teams[1], TeamModel)
46
 
46
 
47
     assert 'std_team' == stash.teams[0].id
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
     assert 'USSR' == stash.teams[0].country
49
     assert 'USSR' == stash.teams[0].country
50
     assert stash.teams[0].units
50
     assert stash.teams[0].units
51
     assert 4 == len(stash.teams[0].units)
51
     assert 4 == len(stash.teams[0].units)
56
     assert 'std_soldier' == stash.teams[0].units[3].id
56
     assert 'std_soldier' == stash.teams[0].units[3].id
57
 
57
 
58
     assert 'std_team' == stash.teams[1].id
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
     assert 'DE' == stash.teams[1].country
60
     assert 'DE' == stash.teams[1].country
61
     assert stash.teams[0].units
61
     assert stash.teams[0].units
62
     assert 4 == len(stash.teams[1].units)
62
     assert 4 == len(stash.teams[1].units)

+ 2 - 2
tests/test_state.py View File

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