Skip to content

Commit d9674ae

Browse files
Update tests
1 parent fa08d5e commit d9674ae

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

tests/protocols/test_ase.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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
1515
async def test_get_status():

tests/protocols/test_doom3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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
1515
async def test_get_info():

tests/protocols/test_gamespy2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
handler = 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
1414
async def test_get_status():

tests/protocols/test_minecraft.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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
1515
async def test_get_status():

tests/protocols/test_raknet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .result_handler import ResultHandler
77

88
handler = ResultHandler(os.path.basename(__file__)[:-3])
9-
handler.enable_save = True
9+
# handler.enable_save = True
1010

1111
# Raknet
1212
test = Raknet(host='193.70.94.83', port=19132)

tests/protocols/test_source.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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
1515
async def test_get_info():
@@ -25,11 +25,11 @@ async def test_get_players():
2525
async 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
3030
async 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')

tests/protocols/test_won.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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
1515
async def test_get_info():

0 commit comments

Comments
 (0)