From d16785a722aecbfe337502eed3b836700a7f971c Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Jan 19 2015 16:15:23 +0000 Subject: Fix cache test to use stuff from fedora This way we prevent disappearing sources in the future --- diff --git a/test/test_options.py b/test/test_options.py index b0634df..edeb468 100644 --- a/test/test_options.py +++ b/test/test_options.py @@ -182,27 +182,27 @@ class TestOptions(FR_TestCase): loglevel = os.environ['REVIEW_LOGLEVEL'] os.environ['REVIEW_LOGLEVEL'] = 'ERROR' - self.init_opt_test(['-b', '818805'], 'options') + self.init_opt_test(['-b', '1079967'], 'options') os.environ['REVIEW_LOGLEVEL'] = loglevel bug = BugzillaBug(Settings.bug) bug.find_urls() bug.download_files() - srpm_org_time = get_mtime('srpm/openerp-client*.src.rpm') + srpm_org_time = get_mtime('srpm/fedwatch*.src.rpm') Checks(bug.spec_file, bug.srpm_file) - upstream_org_time = get_mtime('upstream/openerp-client*.gz') + upstream_org_time = get_mtime('upstream/fedwatch*.gz') del bug os.chdir(self.startdir) loglevel = os.environ['REVIEW_LOGLEVEL'] os.environ['REVIEW_LOGLEVEL'] = 'ERROR' - self.init_opt_test(['-cb', '818805'], 'options') + self.init_opt_test(['-cb', '1079967'], 'options') os.environ['REVIEW_LOGLEVEL'] = loglevel bug = BugzillaBug(Settings.bug) bug.find_urls() bug.download_files() - srpm_new_time = get_mtime('srpm/openerp-client*.src.rpm') + srpm_new_time = get_mtime('srpm/fedwatch*.src.rpm') Checks(bug.spec_file, bug.srpm_file) - upstream_new_time = get_mtime('upstream/openerp-client*.gz') + upstream_new_time = get_mtime('upstream/fedwatch*.gz') self.assertEqual(upstream_org_time, upstream_new_time, 'upstream') self.assertEqual(srpm_org_time, srpm_new_time, 'srpm')