summaryrefslogtreecommitdiff
path: root/tests/test_timeseries.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_timeseries.py')
-rw-r--r--tests/test_timeseries.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_timeseries.py b/tests/test_timeseries.py
index c0fb09e..0743357 100644
--- a/tests/test_timeseries.py
+++ b/tests/test_timeseries.py
@@ -31,7 +31,7 @@ def test_create(client):
def test_create_duplicate_policy(client):
# Test for duplicate policy
for duplicate_policy in ["block", "last", "first", "min", "max"]:
- ts_name = "time-serie-ooo-{0}".format(duplicate_policy)
+ ts_name = f"time-serie-ooo-{duplicate_policy}"
assert client.ts().create(ts_name, duplicate_policy=duplicate_policy)
info = client.ts().info(ts_name)
assert duplicate_policy == info.duplicate_policy