Skip to content

Commit a8f2714

Browse files
committed
get LOCALNET_IMAGE_NAME from env vars in conftest.py
1 parent f48829d commit a8f2714

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/e2e_tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
from .utils import setup_wallet, ExecCommand
1919

20-
LOCALNET_IMAGE_NAME = "ghcr.io/opentensor/subtensor-localnet:devnet-ready"
20+
LOCALNET_IMAGE_NAME = (
21+
os.getenv("LOCALNET_IMAGE_NAME")
22+
or "ghcr.io/opentensor/subtensor-localnet:devnet-ready"
23+
)
2124

2225

2326
def wait_for_node_start(process, pattern, timestamp: int = None):

0 commit comments

Comments
 (0)