mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-19 01:15:06 -05:00
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>
This commit is contained in:
committed by
Martin Basti
parent
4d94367006
commit
0a64e9bd70
@@ -414,11 +414,13 @@ def staged_user(request):
|
||||
return tracker.make_fixture(request)
|
||||
|
||||
|
||||
@pytest.mark.tier0
|
||||
class TestDefaultACL(XMLRPC_test):
|
||||
def test_default_acl_present(self, default_acl):
|
||||
default_acl.retrieve()
|
||||
|
||||
|
||||
@pytest.mark.tier1
|
||||
class TestCAACLbasicCRUD(XMLRPC_test):
|
||||
def test_create(self, crud_acl):
|
||||
crud_acl.create()
|
||||
@@ -447,6 +449,7 @@ class TestCAACLbasicCRUD(XMLRPC_test):
|
||||
crud_acl.find()
|
||||
|
||||
|
||||
@pytest.mark.tier1
|
||||
class TestCAACLMembers(XMLRPC_test):
|
||||
def test_category_member_exclusivity(self, category_acl, default_profile):
|
||||
category_acl.create()
|
||||
|
||||
Reference in New Issue
Block a user