openSUSE-release-tools/tests/metrics_tests.py
Stephan Kulow 0e00c83f09 Rename OBSLocal.OBSLocalTestCase to OBSLocal.TestCase
And make use of it in the vcrhelper using tests
2019-05-04 15:44:44 +02:00

13 lines
318 B
Python

from . import OBSLocal
import unittest
class TestMetrics(OBSLocal.TestCase):
script = './metrics.py'
script_debug_osc = False
def test_all(self):
self.osc_user('staging-bot')
self.execute_script(['--help']) # Avoids the need to influxdb instance.
self.assertOutput('metrics.py')