Skip to content

Commit

Permalink
returning pytest results
Browse files Browse the repository at this point in the history
  • Loading branch information
bieniekmateusz committed Apr 5, 2023
1 parent fe217e9 commit f25d664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ties/testing/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def main():
test_dir = os.path.join(site.getsitepackages()[0], 'ties', 'testing')
tmp_test_dir = os.path.join(tmpdirname, 'ties', 'unit_testing', 'testing')
shutil.copytree(test_dir, tmp_test_dir)
pytest.main([os.path.join(tmp_test_dir)])
return pytest.main([os.path.join(tmp_test_dir)])

if __name__ == '__main__':
main()
main()

0 comments on commit f25d664

Please sign in to comment.