Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 796ccd77f90bfc792ff9172bbd2eaa4ca597b69f
Author: Valentin Gologuzov <vgologuz(a)redhat.com>
Date: Thu Oct 23 23:48:57 2014 +0200
[backend] Action unittest fix
---------------------------------------------------------------
backend/tests/test_action.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/tests/test_action.py b/backend/tests/test_action.py
index 4cb1b70..19469cc 100644
--- a/backend/tests/test_action.py
+++ b/backend/tests/test_action.py
@@ -381,7 +381,6 @@ class TestAction(object):
"Package bar dir not found in chroot epel7",
])
-
def assert_fedora20():
assert_what_from_queue(self.test_q, msg_list=[
"Removing build ",
@@ -399,12 +398,13 @@ class TestAction(object):
assert_epel7()
assert_what_from_queue(self.test_q, msg_list=["In chroot
fedora20"])
assert_fedora20()
+ assert_what_from_queue(self.test_q, msg_list=["Removing log"])
else:
assert_fedora20()
assert_what_from_queue(self.test_q, msg_list=["In chroot epel7"])
assert_epel7()
- assert_what_from_queue(self.test_q, msg_list=["Removing log"])
+
with pytest.raises(EmptyQueue):
self.test_q.get_nowait()