14 lines
434 B
Python
14 lines
434 B
Python
from unittest import TestCase
|
|
|
|
from release.context import ReleaseContext
|
|
|
|
|
|
class TestReleaseContext(TestCase):
|
|
def test_can_describe_context(self):
|
|
ReleaseContext(repository_name='resi',
|
|
ref_name='testing',
|
|
run_number=42,
|
|
is_pre_release=True,
|
|
commit_sha='0AB123',
|
|
gitea_instance='http://gitea.foo.intern')
|