f6198f226a
* Serialization-rebased with main branch * Removing client_id from queue completion callbacks * removing debugging code * source formatting (clang-format v11) (#449) Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com> * moving ready signal handler to anonymous namespace * source formatting (clang-format v11) (#450) Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com> * Handling deque search better in queue destructor * source formatting (clang-format v11) (#451) Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com> * disabling test_total_runtime test in code coverage --------- Co-authored-by: Benjamin Welton <bewelton@amd.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: SrirakshaNag <SrirakshaNag@users.noreply.github.com>
21 lines
389 B
Python
21 lines
389 B
Python
#!/usr/bin/env python3
|
|
|
|
import json
|
|
import pytest
|
|
|
|
|
|
def pytest_addoption(parser):
|
|
parser.addoption(
|
|
"--input",
|
|
action="store",
|
|
default="counter-collection-test.json",
|
|
help="Input JSON",
|
|
)
|
|
|
|
|
|
@pytest.fixture
|
|
def input_data(request):
|
|
filename = request.config.getoption("--input")
|
|
with open(filename, "r") as inp:
|
|
return json.load(inp)
|