Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion integtest/change_rate_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
import copy
import os
import re

import integrationtest.data_file_checks as data_file_checks
import integrationtest.log_file_checks as log_file_checks
Expand Down Expand Up @@ -128,6 +129,16 @@


def test_nanorc_success(run_nanorc):
# print the name of the current test
current_test = os.environ.get("PYTEST_CURRENT_TEST")
match_obj = re.search(r".*\[(.+)-run_.*rc.*\d].*", current_test)
if match_obj:
current_test = match_obj.group(1)
banner_line = re.sub(".", "=", current_test)
print(banner_line)
print(current_test)
print(banner_line)

# Check that nanorc completed correctly
assert run_nanorc.completed_process.returncode == 0

Expand Down
12 changes: 12 additions & 0 deletions integtest/tc_time_outside_window_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import pytest
import os
import re
import urllib.request

import integrationtest.data_file_checks as data_file_checks
Expand Down Expand Up @@ -125,6 +127,16 @@


def test_nanorc_success(run_nanorc):
# print the name of the current test
current_test = os.environ.get("PYTEST_CURRENT_TEST")
match_obj = re.search(r".*\[(.+)-run_.*rc.*\d].*", current_test)
if match_obj:
current_test = match_obj.group(1)
banner_line = re.sub(".", "=", current_test)
print(banner_line)
print(current_test)
print(banner_line)

# Check that nanorc completed correctly
assert run_nanorc.completed_process.returncode == 0

Expand Down
12 changes: 12 additions & 0 deletions integtest/td_leakage_between_runs_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import pytest
import os
import re
import urllib.request

import integrationtest.data_file_checks as data_file_checks
Expand Down Expand Up @@ -93,6 +95,16 @@
# The tests themselves

def test_nanorc_success(run_nanorc):
# print the name of the current test
current_test = os.environ.get("PYTEST_CURRENT_TEST")
match_obj = re.search(r".*\[(.+)-run_.*rc.*\d].*", current_test)
if match_obj:
current_test = match_obj.group(1)
banner_line = re.sub(".", "=", current_test)
print(banner_line)
print(current_test)
print(banner_line)

# Check that nanorc completed correctly
assert run_nanorc.completed_process.returncode==0

Expand Down