Skip to content

Conversation

Extravert-ir
Copy link
Member

No description provided.

@learn-more learn-more requested a review from ColinFinck April 26, 2020 12:17
Comment on lines +207 to +210
if m:
return {'testman_id': re.group(1)}
else:
return {'testman_id': None}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if m:
return {'testman_id': re.group(1)}
else:
return {'testman_id': None}
return {'testman_id': m.group(1)} if m else {'testman_id': None}

Comment on lines +203 to +206
testmain_id_regex = re.compile("OK\.\sTest_id\:\s(\d+)")

def extract_testman_id(rc, stdout, stderr):
m = re.search(stdout)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
testmain_id_regex = re.compile("OK\.\sTest_id\:\s(\d+)")
def extract_testman_id(rc, stdout, stderr):
m = re.search(stdout)
testman_id_regex = re.compile("OK\.\sTest_id\:\s(\d+)")
def extract_testman_id(rc, stdout, stderr):
m = testman_id_regex.search(stdout)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants