Skip to content

Commit

Permalink
disable all but one tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ableytner committed Oct 6, 2024
1 parent 66432a3 commit 544d015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mcserverwrapper/test/integration_tests/test_forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ def _test_multiple(forge_download_url: str):

run_forge_test_url(forge_download_url)

def test_single_online():
def _test_single_online():
"""Test a single Forge version in online mode"""

url = "https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.4-49.0.31/forge-1.20.4-49.0.31-installer.jar"

run_forge_test_url(url)

def test_single_offline():
def _test_single_offline():
"""Test a single Forge version in offline mode"""

url = "https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.4-49.0.31/forge-1.20.4-49.0.31-installer.jar"
Expand Down
4 changes: 2 additions & 2 deletions mcserverwrapper/test/integration_tests/test_vanilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _test_broken_versions():

@pytest.mark.skipif(not os.path.isfile("password.txt"),
reason="Cannot test online server without actual credentials present")
def test_single_online(newest_server_jar):
def _test_single_online(newest_server_jar):
"""Test a single vanilla server version"""

run_vanilla_test(newest_server_jar)
Expand All @@ -70,7 +70,7 @@ def test_single_offline(newest_server_jar):

run_vanilla_test(newest_server_jar, offline_mode=True)

def test_mineflayer(newest_server_jar):
def _test_mineflayer(newest_server_jar):
"""Test the mineflayer bot"""

port = 25565
Expand Down

0 comments on commit 544d015

Please sign in to comment.