openSUSE-release-tools/tests/build_fail_reminder_tests.py
2022-02-18 17:15:48 +01:00

14 lines
375 B
Python

import unittest
from . import OBSLocal
class TestBuildFailReminder(OBSLocal.TestCase):
script = './build-fail-reminder.py'
def test_basic(self):
self.wf = OBSLocal.FactoryWorkflow()
self.wf.create_target()
self.execute_script(['--relay', 'smtp', '--sender', 'Tester'])
self.assertOutput('loading build fails for openSUSE:Factory')