URL: https://github.com/freeipa/freeipa/pull/122
Author: dkupka
 Title: #122: Acceptance tests
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/122/head:pr122
git checkout pr122
From eb70dab4a0d800a19eee283b82969d27e29ab289 Mon Sep 17 00:00:00 2001
From: David Kupka <dku...@redhat.com>
Date: Tue, 15 Nov 2016 14:18:59 +0100
Subject: [PATCH 1/2] tests: Mark Dogtag acceptance tests

---
 ipatests/pytest.ini                            | 1 +
 ipatests/test_integration/test_installation.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/ipatests/pytest.ini b/ipatests/pytest.ini
index b2497cb..8ae1c3a 100644
--- a/ipatests/pytest.ini
+++ b/ipatests/pytest.ini
@@ -31,3 +31,4 @@ addopts = --doctest-modules
 markers =
     tier0: basic unit tests and critical functionality
     tier1: functional API tests
+    cs_acceptance: Acceptance test suite for Dogtag Certificate Server
diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py
index ccc356f..0929f13 100644
--- a/ipatests/test_integration/test_installation.py
+++ b/ipatests/test_integration/test_installation.py
@@ -195,6 +195,7 @@ def test_replica2_ipa_kra_install(self):
         super(TestInstallWithCA_DNS2, self).test_replica2_ipa_kra_install()
 
 
+@pytest.mark.cs_acceptance
 class TestInstallWithCA_KRA_DNS1(InstallTestBase1):
 
     @classmethod

From fa603c54cee1fe940ac879ad61a24ac0dd48ce48 Mon Sep 17 00:00:00 2001
From: David Kupka <dku...@redhat.com>
Date: Tue, 15 Nov 2016 14:33:58 +0100
Subject: [PATCH 2/2] tests: Mark 389-ds acceptance tests

---
 ipatests/pytest.ini                                  | 1 +
 ipatests/test_integration/test_simple_replication.py | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/ipatests/pytest.ini b/ipatests/pytest.ini
index 8ae1c3a..326a8d6 100644
--- a/ipatests/pytest.ini
+++ b/ipatests/pytest.ini
@@ -32,3 +32,4 @@ markers =
     tier0: basic unit tests and critical functionality
     tier1: functional API tests
     cs_acceptance: Acceptance test suite for Dogtag Certificate Server
+    ds_acceptance: Acceptance test suite for 389 Directory Server
diff --git a/ipatests/test_integration/test_simple_replication.py b/ipatests/test_integration/test_simple_replication.py
index fe1c74e..e286686 100644
--- a/ipatests/test_integration/test_simple_replication.py
+++ b/ipatests/test_integration/test_simple_replication.py
@@ -19,11 +19,14 @@
 
 from __future__ import print_function
 
+import pytest
+
 from ipapython.dn import DN
 from ipatests.test_integration.base import IntegrationTest
 from ipatests.test_integration import tasks
 
 
+@pytest.mark.ds_acceptance
 class TestSimpleReplication(IntegrationTest):
     """Simple replication test
 
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to