Skip to content

Commit

Permalink
Adjustments to make the package build for epel8
Browse files Browse the repository at this point in the history
Vagrant should not be necessary to run unit tests. Also updated
exit code check in test_step_execute because it (interestingly)
returns '-1' on rhel8.
  • Loading branch information
psss committed Jan 14, 2020
1 parent 1a8b8bf commit c2d3179
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_step_execute():
tmt.cli.main, ['--root', example('local'), 'run', step])

# Test execute empty with discover output missing
assert result.exit_code == 1
assert result.exit_code != 0
assert 'Could not find TESTS file' in result.output

assert step in result.output
Expand Down
1 change: 0 additions & 1 deletion tmt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ This package contains the command line tool.

%package -n python%{python3_pkgversion}-%{name}
Summary: %{summary}
BuildRequires: vagrant
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-pytest
Expand Down

0 comments on commit c2d3179

Please sign in to comment.