From b74450342d79c1f06c8996b3054d012cf5b0632f Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Fri, 17 May 2013 22:47:15 +0200 Subject: [PATCH] tests: Exclude mtime of file from testing. --- tests/python/tests/test_xml_file.py | 3 ++- tests/run_gtester.sh.in | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/python/tests/test_xml_file.py b/tests/python/tests/test_xml_file.py index 70c36a9..a12e86c 100644 --- a/tests/python/tests/test_xml_file.py +++ b/tests/python/tests/test_xml_file.py @@ -142,6 +142,7 @@ class TestCaseXmlFile(unittest.TestCase): def test_xmlfile_add_pkg(self): pkg = cr.package_from_rpm(PKG_ARCHER_PATH) self.assertTrue(pkg) + pkg.time_file = 111 # Primary path = os.path.join(self.tmpdir, "primary.xml") @@ -168,7 +169,7 @@ class TestCaseXmlFile(unittest.TestCase): Archer package Sterling Archer http://soo_complex_package.eu/ -