Skip to content

Commit

Permalink
Disable web tests in make check (to build in koji)
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Feb 14, 2020
1 parent 43459fb commit b08306d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fmf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ install -pm 644 fmf.1* %{buildroot}%{_mandir}/man1
export LANG=en_US.utf-8
%endif

%{__python3} -m pytest -vv
%{__python3} -m pytest -vv -m 'not web'


%{!?_licensedir:%global license %%doc}
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def test_inaccessible_directories(self):
class TestRemote(object):
""" Get tree node data using remote reference """

@pytest.mark.web
def test_tree_node_remote(self):
reference = {
'url': 'https://github.com/psss/fmf.git',
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def test_color(self):
text = utils.color("text", "lightblue", enabled=True)


@pytest.mark.web
class TestFetch(object):
""" Remote reference from fmf github """

Expand Down

0 comments on commit b08306d

Please sign in to comment.