diff options
author | Milan Kubik <mkubik@redhat.com> | 2015-04-24 14:39:48 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-11-09 11:49:17 +0100 |
commit | 0a64e9bd7061550b478be889b0e7fc90f560b06c (patch) | |
tree | 125f97a97bfab06c06dadbef1b7983e0d5f97263 /ipatests/test_webui/test_host.py | |
parent | 4d94367006287ed0a04c092a7b86096518cf5b8c (diff) | |
download | freeipa-0a64e9bd7061550b478be889b0e7fc90f560b06c.tar.gz freeipa-0a64e9bd7061550b478be889b0e7fc90f560b06c.tar.xz freeipa-0a64e9bd7061550b478be889b0e7fc90f560b06c.zip |
Applied tier0 and tier1 marks on unit tests and xmlrpc tests
Web UI tests were marked as tier1 tests.
The tier system is intended to be used together with CI system
to make sure the more complicated tests are being run only
when all of the basic functionality is working.
The system is using pytest's marker system. E.g. an invocation of
all tier1 tests with listing will look like:
$ py.test -v -m tier1 ipatests
or in case of out of tree tests:
$ ipa-run-tests -m tier1
Reviewed-By: Ales 'alich' Marecek <amarecek@redhat.com>
Diffstat (limited to 'ipatests/test_webui/test_host.py')
-rw-r--r-- | ipatests/test_webui/test_host.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipatests/test_webui/test_host.py b/ipatests/test_webui/test_host.py index 368148428..7ee6b4bac 100644 --- a/ipatests/test_webui/test_host.py +++ b/ipatests/test_webui/test_host.py @@ -28,10 +28,12 @@ import ipatests.test_webui.data_netgroup as netgroup import ipatests.test_webui.data_hbac as hbac import ipatests.test_webui.test_rbac as rbac import ipatests.test_webui.data_sudo as sudo +import pytest ENTITY = 'host' +@pytest.mark.tier1 class host_tasks(UI_driver): def setup(self, *args, **kwargs): @@ -103,6 +105,7 @@ class host_tasks(UI_driver): return csr +@pytest.mark.tier1 class test_host(host_tasks): @screenshot |