Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Jan 19, 2024
1 parent 2ea5df2 commit c901c37
Show file tree
Hide file tree
Showing 50 changed files with 56,810 additions and 47,109 deletions.
2 changes: 1 addition & 1 deletion tests/protocols/test_eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
client_secret = 'PP5UGxysEieNfSrEicaD1N2Bb3TdXuD7xHYcsdUHZ7s'
deployment_id = 'ad9a8feffb3b4b2ca315546f038c3ae2'

eos = EOS(host='150.138.77.118', port=10019, client_id=client_id,
eos = EOS(host='5.62.115.46', port=7783, client_id=client_id,
client_secret=client_secret, deployment_id=deployment_id)


Expand Down
2 changes: 1 addition & 1 deletion tests/protocols/test_gamespy4.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
handler = ResultHandler(os.path.basename(__file__)[:-3])
# handler.enable_save = True

test = GameSpy4(host='104.238.152.181', port=19132)
test = GameSpy4(host='play.avengetech.me', port=19132)

@pytest.mark.asyncio
async def test_get_status():
Expand Down
2 changes: 1 addition & 1 deletion tests/protocols/test_minecraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# handler.enable_save = True

# Minecraft
test = Minecraft(host='mc.paladium-pvp.fr', port=25565)
test = Minecraft(host='valistar.site', port=25565)

@pytest.mark.asyncio
async def test_get_status():
Expand Down
2 changes: 1 addition & 1 deletion tests/protocols/test_quake1.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# handler.enable_save = True

# https://www.quakeservers.net/quakeworld/servers/so=8/
test = Quake1(host='qw.servegame.org', port=27500)
test = Quake1(host='35.185.44.174', port=27500)

@pytest.mark.asyncio
async def test_get_status():
Expand Down
3 changes: 2 additions & 1 deletion tests/protocols/test_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

handler = ResultHandler(os.path.basename(__file__)[:-3])
# handler.enable_save = True
handler.delay_per_test = 1

# tf2
source = Source(host='91.216.250.14', port=27015)
source = Source(host='45.62.160.71', port=27015)

@pytest.mark.asyncio
async def test_get_info():
Expand Down
2 changes: 1 addition & 1 deletion tests/protocols/test_vcmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# handler.enable_save = True

# Vice City Multiplayer
test = Vcmp(host='91.121.134.5', port=8192)
test = Vcmp(host='51.178.65.136', port=8114)

@pytest.mark.asyncio
async def test_get_status():
Expand Down
86 changes: 11 additions & 75 deletions tests/results/test_ase/test_get_status.json
Original file line number Diff line number Diff line change
@@ -1,101 +1,37 @@
{
"gamename": "mta",
"gameport": "22003",
"hostname": "❤ TITAN RPG ❤ | [RUS|UA|KZ] [DRIFT|бпан|radm,bpan,cc]",
"gametype": "MTA:SA",
"hostname": "MTA Türkiye ✖ GÜL GAMİNG FREEROAM ✖ [Roleplay/Askeri/Drift/Drop/Turkey/Tr/Gül Gaming]",
"gametype": "BEDAVA - VIP",
"map": "None",
"version": "1.5",
"version": "1.6",
"password": "0",
"numplayers": "11",
"maxplayers": "108",
"numplayers": "3",
"maxplayers": "120",
"rules": {},
"players": [
{
"name": "XaocOTMAROZOK",
"name": "majorka",
"team": "",
"skin": "",
"score": "",
"ping": "81",
"ping": "68",
"time": ""
},
{
"name": "Dedulya",
"name": "BlueCans43",
"team": "",
"skin": "",
"score": "",
"ping": "78",
"ping": "254",
"time": ""
},
{
"name": "Lavren",
"name": "AlluringCascades49",
"team": "",
"skin": "",
"score": "",
"ping": "88",
"time": ""
},
{
"name": "DanyBashca",
"team": "",
"skin": "",
"score": "",
"ping": "122",
"time": ""
},
{
"name": "Jafar",
"team": "",
"skin": "",
"score": "",
"ping": "72",
"time": ""
},
{
"name": "<MTASHNIK>",
"team": "",
"skin": "",
"score": "",
"ping": "84",
"time": ""
},
{
"name": "Edmin86",
"team": "",
"skin": "",
"score": "",
"ping": "141",
"time": ""
},
{
"name": "LiZZka",
"team": "",
"skin": "",
"score": "",
"ping": "90",
"time": ""
},
{
"name": "DragonRiki",
"team": "",
"skin": "",
"score": "",
"ping": "91",
"time": ""
},
{
"name": "Atema",
"team": "",
"skin": "",
"score": "",
"ping": "72",
"time": ""
},
{
"name": "TTEHb",
"team": "",
"skin": "",
"score": "",
"ping": "72",
"ping": "96",
"time": ""
}
]
Expand Down
16 changes: 8 additions & 8 deletions tests/results/test_battlefield/test_get_info.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"hostname": "# -bZ4- # 90HZ LOCKER NO RULES BANZORE.COM",
"numplayers": 14,
"hostname": "# -bZ4- # 60HZ LOCKER NO RULES BANZORE.COM",
"numplayers": 58,
"maxplayers": 64,
"gametype": "ConquestLarge0",
"map": "MP_Prison",
"roundsplayed": 0,
"roundstotal": 1,
"teams": [
1174.543,
980.219666
815.1466,
543.969238
],
"targetscore": 0,
"status": "",
"ranked": true,
"punkbuster": true,
"password": false,
"uptime": 647,
"roundtime": 502,
"uptime": 6746,
"roundtime": 1003,
"ip_port": "74.91.124.140:25200",
"punkbuster_version": "v1.905 | A1390 C2.351",
"join_queue": true,
"region": "NAm",
"pingsite": "lax",
"pingsite": "iad",
"country": "US",
"blaze_player_count": 60,
"blaze_player_count": 61,
"blaze_game_state": "IN_GAME"
}
Loading

0 comments on commit c901c37

Please sign in to comment.