Skip to content

Commit

Permalink
fix: import subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Jan 17, 2025
1 parent c4b50dd commit 0723a38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytest/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import time
import typing
import requests
import subprocess
from prometheus_client.parser import text_string_to_metric_families
from retrying import retry
from rc import gcloud
Expand Down Expand Up @@ -247,7 +248,7 @@ def load_test_contract(
"""Loads a WASM file from near-test-contracts package."""
output = subprocess.check_output(['cargo', 'run', '-p', 'near-test-contracts', filename],
cwd=_REPO_DIR)
return output.stdout
return output

def user_name():
username = os.getlogin()
Expand Down

0 comments on commit 0723a38

Please sign in to comment.