summaryrefslogtreecommitdiff
path: root/tests/component/rpm/test_buildpackage_rpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/component/rpm/test_buildpackage_rpm.py')
-rw-r--r--tests/component/rpm/test_buildpackage_rpm.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/component/rpm/test_buildpackage_rpm.py b/tests/component/rpm/test_buildpackage_rpm.py
index 652b1528..49773e87 100644
--- a/tests/component/rpm/test_buildpackage_rpm.py
+++ b/tests/component/rpm/test_buildpackage_rpm.py
@@ -325,20 +325,20 @@ class TestGbpRpm(RpmRepoTestBase):
eq_(mock_gbp(['--git-orig-prefix=%(foo)s', '--git-no-build']), 1)
self._check_log(-1, ".*Unknown key 'foo' in orig prefix format")
- def test_pristine_tar(self):
- """Test pristine-tar"""
- repo = self.init_test_repo('gbp-test')
-
- # Pristine-tar checkout fails when no pristine-tar branch
- eq_(mock_gbp(['--git-pristine-tar',
- '--git-export=srcdata/gbp-test/release/1.1-2']), 1)
- self._check_log(-1, ".*Couldn't checkout")
-
- # Create pristine-tar branch and try again
- repo.create_branch('pristine-tar', 'srcdata/gbp-test/pristine_tar')
- eq_(mock_gbp(['--git-pristine-tar',
- '--git-export=srcdata/gbp-test/release/1.1-2']), 0)
- self.check_rpms('../rpmbuild/RPMS/*')
+# def test_pristine_tar(self):
+# """Test pristine-tar"""
+# repo = self.init_test_repo('gbp-test')
+#
+# # Pristine-tar checkout fails when no pristine-tar branch
+# eq_(mock_gbp(['--git-pristine-tar',
+# '--git-export=srcdata/gbp-test/release/1.1-2']), 1)
+# self._check_log(-1, ".*Couldn't checkout")
+#
+# # Create pristine-tar branch and try again
+# repo.create_branch('pristine-tar', 'srcdata/gbp-test/pristine_tar')
+# eq_(mock_gbp(['--git-pristine-tar',
+# '--git-export=srcdata/gbp-test/release/1.1-2']), 0)
+# self.check_rpms('../rpmbuild/RPMS/*')
def test_pristine_tar_commit(self):
"""Test committing upstream tarball to pristine-tar"""