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_xmlrpc/test_automount_plugin.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_xmlrpc/test_automount_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_automount_plugin.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ipatests/test_xmlrpc/test_automount_plugin.py b/ipatests/test_xmlrpc/test_automount_plugin.py index dcc79c83c..073dfcf14 100644 --- a/ipatests/test_xmlrpc/test_automount_plugin.py +++ b/ipatests/test_xmlrpc/test_automount_plugin.py @@ -25,6 +25,7 @@ import sys import textwrap import tempfile import shutil +import pytest from ipalib import api from ipalib import errors @@ -115,6 +116,8 @@ class AutomountTest(XMLRPC_test): # Success; delete the temporary directory shutil.rmtree(conf_directory) + +@pytest.mark.tier1 class test_automount(AutomountTest): """ Test the `automount` plugin. @@ -323,6 +326,7 @@ class test_automount(AutomountTest): api.Command['automountkey_show'](self.locname, self.mapname, **key_kw) +@pytest.mark.tier1 class test_automount_direct(AutomountTest): """ Test the `automount` plugin indirect map functionality. @@ -388,6 +392,7 @@ class test_automount_direct(AutomountTest): self.check_import_roundtrip() +@pytest.mark.tier1 class test_automount_indirect(AutomountTest): """ Test the `automount` plugin indirect map functionality. @@ -486,6 +491,8 @@ class test_automount_indirect(AutomountTest): """ self.check_import_roundtrip() + +@pytest.mark.tier1 class test_automount_indirect_no_parent(AutomountTest): """ Test the `automount` plugin Indirect map function. |