Fix port in README
This commit is contained in:
parent
f6598c908c
commit
b0a2ac7574
@ -28,7 +28,7 @@ Here's a basic example of how to use NuCon:
|
|||||||
from nucon import Nucon, BreakerStatus
|
from nucon import Nucon, BreakerStatus
|
||||||
|
|
||||||
# Set the base URL for the game's API (if different from default)
|
# Set the base URL for the game's API (if different from default)
|
||||||
Nucon.set_base_url("http://localhost:8080/")
|
Nucon.set_base_url("http://localhost:8785/")
|
||||||
|
|
||||||
# Enable dummy mode for testing (optional)
|
# Enable dummy mode for testing (optional)
|
||||||
Nucon.set_dummy_mode(True)
|
Nucon.set_dummy_mode(True)
|
||||||
@ -134,7 +134,7 @@ NuCon includes a test suite to verify its functionality and compatibility with t
|
|||||||
|
|
||||||
To run the tests:
|
To run the tests:
|
||||||
|
|
||||||
1. Ensure the Nucleares game is running and accessible at http://localhost:8080/ (or update the URL in the test setup).
|
1. Ensure the Nucleares game is running and accessible at http://localhost:8785/ (or update the URL in the test setup).
|
||||||
2. Install pytest: `pip install pytest`
|
2. Install pytest: `pip install pytest`
|
||||||
3. Run the tests: `pytest test/test.py`
|
3. Run the tests: `pytest test/test.py`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user