SIENTIAPDE-1478
Enhance API class to format timestamps correctly and improve logging. Update test cases to include 'end_time' parameter for better data retrieval flexibility.
This commit is contained in:
@@ -139,6 +139,7 @@ async def test_get_tag_values_success(api_activity):
|
||||
'tag3': {'webid': 'webid3', 'aggr_function': 'avg', 'data_range': [0, 100]},
|
||||
},
|
||||
start_time='*-1d',
|
||||
end_time='*',
|
||||
max_count=10,
|
||||
metadata=metadata['metadata'],
|
||||
request_timeout=30,
|
||||
@@ -193,6 +194,7 @@ async def test_get_tag_values_with_default_max_count(api_activity):
|
||||
endpoint='/streamsets/recorded',
|
||||
web_ids={'tag1': {'webid': 'webid1', 'aggr_function': 'avg', 'data_range': [0, 100]}},
|
||||
start_time='*-1h',
|
||||
end_time='*',
|
||||
max_count=1,
|
||||
metadata=metadata['metadata'],
|
||||
request_timeout=15,
|
||||
|
||||
Reference in New Issue
Block a user