File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed
Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 99# handler.enable_save = True
1010
1111# Grand Theft Auto: San Andreas - Multi Theft Auto
12- ase = ASE ('79.137.97.3' , 22126 )
12+ ase = ASE (host = '79.137.97.3' , port = 22126 )
1313
1414@pytest .mark .asyncio
1515async def test_get_status ():
Original file line number Diff line number Diff line change 99# handler.enable_save = True
1010
1111# Quake 4
12- doom3 = Doom3 ('88.99.0.7' , 28007 )
12+ doom3 = Doom3 (host = '88.99.0.7' , port = 28007 )
1313
1414@pytest .mark .asyncio
1515async def test_get_info ():
Original file line number Diff line number Diff line change 88handler = ResultHandler (os .path .basename (__file__ )[:- 3 ])
99# handler.enable_save = True
1010
11- test = GameSpy2 (host = '158.69.118.94 ' , port = 23000 )
11+ test = GameSpy2 (host = '89.58.8.211 ' , port = 23000 )
1212
1313@pytest .mark .asyncio
1414async def test_get_status ():
Original file line number Diff line number Diff line change 99# handler.enable_save = True
1010
1111# Minecraft
12- test = Minecraft (host = '51.83.219.117 ' , port = 25565 )
12+ test = Minecraft (host = '2b2tjb.jp ' , port = 19132 )
1313
1414@pytest .mark .asyncio
1515async def test_get_status ():
Original file line number Diff line number Diff line change 66from .result_handler import ResultHandler
77
88handler = ResultHandler (os .path .basename (__file__ )[:- 3 ])
9- handler .enable_save = True
9+ # handler.enable_save = True
1010
1111# Raknet
1212test = Raknet (host = '193.70.94.83' , port = 19132 )
Original file line number Diff line number Diff line change 99# handler.enable_save = True
1010
1111# tf2
12- source = Source ('91.216.250.14' , 27015 )
12+ source = Source (host = '91.216.250.14' , port = 27015 )
1313
1414@pytest .mark .asyncio
1515async def test_get_info ():
@@ -25,11 +25,11 @@ async def test_get_players():
2525async def test_get_rules ():
2626 result = await source .get_rules ()
2727 await handler .save_result ('test_get_rules' , result )
28-
28+
2929@pytest .mark .asyncio
3030async def test_remote_console ():
3131 return
32-
32+
3333 with Source .RemoteConsole ('' , 27015 ) as rcon :
3434 await rcon .authenticate ('' )
3535 result = await rcon .send_command ('cvarlist' )
Original file line number Diff line number Diff line change 99# handler.enable_save = True
1010
1111# Counter-Strike 1.5
12- won = WON ('212.227.190.150' , 27020 )
12+ won = WON (host = '212.227.190.150' , port = 27020 )
1313
1414@pytest .mark .asyncio
1515async def test_get_info ():
You can’t perform that action at this time.
0 commit comments