openSUSE-release-tools/tests/build_fail_reminder_tests.py

13 lines
359 B
Python
Raw Normal View History

2019-09-03 17:15:53 +02:00
from . import OBSLocal
2019-09-03 17:15:53 +02:00
class TestBuildFailReminder(OBSLocal.TestCase):
script = './build-fail-reminder.py'
def test_basic(self):
self.wf = OBSLocal.FactoryWorkflow()
2019-09-03 17:15:53 +02:00
self.wf.create_target()
self.execute_script(['--relay', 'smtp', '--sender', 'Tester'])
self.assertOutput('loading build fails for openSUSE:Factory')