mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 05:08:42 +02:00
Move _get_fixture() to OscTestCase class
This commit is contained in:
@@ -28,9 +28,6 @@ class TestResults(OscTestCase):
|
||||
cli.main(argv=argv)
|
||||
return sys.stdout.getvalue()
|
||||
|
||||
def _get_fixture(self, filename):
|
||||
return open(os.path.join(self._get_fixtures_dir(), filename)).read()
|
||||
|
||||
@GET('http://localhost/build/testproject/_result', file='result.xml')
|
||||
def testPrjresults(self):
|
||||
out = self._run_osc('prjresults', '--xml', 'testproject')
|
||||
|
Reference in New Issue
Block a user