2019-04-30 11:44:37 +02:00
|
|
|
from . import OBSLocal
|
2018-11-26 16:58:04 -06:00
|
|
|
import unittest
|
|
|
|
|
|
|
|
|
2019-05-02 08:14:44 +02:00
|
|
|
class TestMetrics(OBSLocal.TestCase):
|
2018-11-26 16:58:04 -06:00
|
|
|
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')
|