Disable move test for now

Waiting for https://github.com/openSUSE/open-build-service/issues/7360
This commit is contained in:
Stephan Kulow 2019-11-20 15:10:59 +01:00
parent 8c5ee9257f
commit d014002bc3

View File

@ -8,6 +8,7 @@ from osclib.conf import Config
from osclib.stagingapi import StagingAPI
from lxml import etree as ET
from mock import MagicMock
from nose.tools import nottest
from . import OBSLocal
class TestApiCalls(OBSLocal.TestCase):
@ -142,7 +143,6 @@ class TestApiCalls(OBSLocal.TestCase):
def test_create_package_container(self):
"""Test if the uploaded _meta is correct."""
self.wf = OBSLocal.StagingWorkflow()
self.wf.create_staging('B')
self.wf.api.create_package_container('openSUSE:Factory:Staging:B', 'wine')
@ -186,7 +186,6 @@ class TestApiCalls(OBSLocal.TestCase):
def test_prj_from_letter(self):
self.wf = OBSLocal.StagingWorkflow()
# Verify it works
self.assertEqual(self.wf.api.prj_from_letter('openSUSE:Factory'), 'openSUSE:Factory')
self.assertEqual(self.wf.api.prj_from_letter('A'), 'openSUSE:Factory:Staging:A')
@ -231,6 +230,7 @@ class TestApiCalls(OBSLocal.TestCase):
self.wf.api._fetch_project_meta = MagicMock(return_value=body)
@nottest # TODO
def test_move(self):
"""Test package movement."""