Skip to content

Commit

Permalink
update - fix pytest prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Sep 21, 2024
1 parent 7cdfc53 commit 759e7a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion iocage_lib/ioc_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def __execute_debug__(self, command, jail=None, jexec=False):
def __write_debug__(self, data, path, title, json=False, method='a+'):
title_sep = '-' * 10
print('path=', path)
raise Exception(path)

with open(f'{path}.txt', method) as f:
f.write(title)
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[pytest]
addopts = -vvv -rs --ignore=setup.py --pep8 --cov-report term-missing --cov=./iocage_lib --cov=./iocage_cli
addopts = -vvv -rA --ignore=setup.py --pep8 --cov-report term-missing --cov=./iocage_lib --cov=./iocage_cli
pep8maxlinelength = 80
pep8ignore = * ALL
markers =
Expand Down

0 comments on commit 759e7a5

Please sign in to comment.