Skip to content

Commit fd98b62

Browse files
committed
fix: include underscore in the generated test callsigns
1 parent 5892a37 commit fd98b62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ async def session_with_invalid_tpjwt(
114114
@pytest.fixture
115115
def call_sign_generator() -> str:
116116
"""Return random work_id"""
117-
return "".join(random.choice(string.ascii_uppercase + string.digits) for _ in range(6))
117+
ret = "".join(random.choice(string.ascii_uppercase + string.digits) for _ in range(6))
118+
ret += "_"
119+
ret += "".join(random.choice(string.ascii_uppercase + string.digits) for _ in range(2))
120+
return ret
118121

119122

120123
# FIXME: rename this, or if only needed in one test file=module, move it there

0 commit comments

Comments
 (0)