Blame SOURCES/0001-Fix-order-of-asserts-in-unit-test-RhBug1713220.patch

1dfe7b
From 849ae4a7c7abe72baaeb22214be3e04e4e43eb81 Mon Sep 17 00:00:00 2001
1dfe7b
From: Jaroslav Rohel <jrohel@redhat.com>
1dfe7b
Date: Wed, 22 May 2019 13:21:19 +0200
1dfe7b
Subject: [PATCH] Fix: order of asserts() in unit test (RhBug:1713220)
1dfe7b
1dfe7b
---
1dfe7b
 libcomps/src/python/tests/__test.py | 2 +-
1dfe7b
 1 file changed, 1 insertion(+), 1 deletion(-)
1dfe7b
1dfe7b
diff --git a/libcomps/src/python/tests/__test.py b/libcomps/src/python/tests/__test.py
1dfe7b
index 40c2e83..c9b4dd4 100644
1dfe7b
--- a/libcomps/src/python/tests/__test.py
1dfe7b
+++ b/libcomps/src/python/tests/__test.py
1dfe7b
@@ -891,8 +891,8 @@ class COMPSTest(unittest.TestCase):
1dfe7b
         gid1 = libcomps.GroupId("gid1")
1dfe7b
         gid2 = libcomps.GroupId("gid2", default=False)
1dfe7b
         gid3 = libcomps.GroupId("gid3", default=True)
1dfe7b
-        self.assertRaises(TypeError, gid1.__eq__, 1)
1dfe7b
         self.assertTrue(gid1 != None)
1dfe7b
+        self.assertRaises(TypeError, gid1.__eq__, 1)
1dfe7b
         self.assertTrue(gid1 == gid1)
1dfe7b
         self.assertTrue(gid1 != "gid2")
1dfe7b
         self.assertTrue(gid1 != gid2)
1dfe7b
--
1dfe7b
libgit2 0.28.2
1dfe7b