[Misc] fix the agent_id field (#297)
* fix the agent_id field
* Fix shebang
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
[ROCm/rocprofiler-sdk commit: 35069a9d06]
Αυτή η υποβολή περιλαμβάνεται σε:
υποβλήθηκε από
GitHub
γονέας
d10a9d855a
υποβολή
a83ee16d51
@@ -29,6 +29,9 @@ import pandas as pd
|
||||
|
||||
def pytest_addoption(parser):
|
||||
parser.addoption("--input", action="store", help="Path to csv file.")
|
||||
parser.addoption(
|
||||
"--retain-agent-prefix", action="store", help="retain agent prefix flag."
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -36,3 +39,8 @@ def input_data(request):
|
||||
filename = request.config.getoption("--input")
|
||||
with open(filename, "r") as inp:
|
||||
return pd.read_csv(inp)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def retain_agent_prefix_flag(request):
|
||||
return request.config.getoption("--retain-agent-prefix")
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user