Skip to content

Commit

Permalink
capture attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrithicusGreenson committed Apr 18, 2024
1 parent f030a9b commit 92be645
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions genisys/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ def meteor_initialization(server_config: ServerOptions):
old_cwd = os.getcwd()
meteor_dev_dir = Path(package_location[:package_location.rfind('genisys/')], 'meteor-dev')
os.chdir(meteor_dev_dir)
result = subprocess.run(['meteor', 'test', '--driver-package', 'meteortesting:mocha', '--once', '--full-app'], check=True, capture_output=True, text=True)
print(result)
result = subprocess.run(['meteor', 'test', '--driver-package', 'meteortesting:mocha', '--once', '--full-app'], check=True, stdout=subprocess.PIPE)
print(result.stdout)
print(result.stderr)
os.chdir(old_cwd)
return

Expand Down

0 comments on commit 92be645

Please sign in to comment.