From 2fddacdc4eccfcf7724aaea0da000ba77214a0d2 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Thu, 16 Jan 2025 14:55:34 +0000 Subject: [PATCH] Update copyright headers We'll update the copyright headers as expected by the "tox -e fmt" job: Copyright 2025 Canonical, Ltd. --- test/performance/tests/conftest.py | 2 +- test/performance/tests/test_multi_node.py | 2 +- test/performance/tests/test_single_node.py | 2 +- test/performance/tests/test_util/config.py | 2 +- test/performance/tests/test_util/harness/__init__.py | 2 +- test/performance/tests/test_util/harness/base.py | 2 +- test/performance/tests/test_util/harness/lxd.py | 2 +- test/performance/tests/test_util/metrics.py | 2 +- test/performance/tests/test_util/util.py | 11 ++--------- 9 files changed, 10 insertions(+), 17 deletions(-) diff --git a/test/performance/tests/conftest.py b/test/performance/tests/conftest.py index 8aaf090e..672eab8d 100644 --- a/test/performance/tests/conftest.py +++ b/test/performance/tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # import itertools import logging diff --git a/test/performance/tests/test_multi_node.py b/test/performance/tests/test_multi_node.py index d76c0f08..439928bc 100644 --- a/test/performance/tests/test_multi_node.py +++ b/test/performance/tests/test_multi_node.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # from typing import List diff --git a/test/performance/tests/test_single_node.py b/test/performance/tests/test_single_node.py index e20c16f2..1c7b93ac 100644 --- a/test/performance/tests/test_single_node.py +++ b/test/performance/tests/test_single_node.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # from test_util import harness, metrics diff --git a/test/performance/tests/test_util/config.py b/test/performance/tests/test_util/config.py index 15342f6a..e707c52a 100644 --- a/test/performance/tests/test_util/config.py +++ b/test/performance/tests/test_util/config.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # import os from pathlib import Path diff --git a/test/performance/tests/test_util/harness/__init__.py b/test/performance/tests/test_util/harness/__init__.py index ea07d9bf..7c230406 100644 --- a/test/performance/tests/test_util/harness/__init__.py +++ b/test/performance/tests/test_util/harness/__init__.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # from test_util.harness.base import Harness, HarnessError, Instance from test_util.harness.lxd import LXDHarness diff --git a/test/performance/tests/test_util/harness/base.py b/test/performance/tests/test_util/harness/base.py index d80b298d..4379b9a4 100644 --- a/test/performance/tests/test_util/harness/base.py +++ b/test/performance/tests/test_util/harness/base.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # import subprocess from functools import cached_property, partial diff --git a/test/performance/tests/test_util/harness/lxd.py b/test/performance/tests/test_util/harness/lxd.py index 160b4537..777ce646 100644 --- a/test/performance/tests/test_util/harness/lxd.py +++ b/test/performance/tests/test_util/harness/lxd.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # import logging import os diff --git a/test/performance/tests/test_util/metrics.py b/test/performance/tests/test_util/metrics.py index b84e2c04..3ba9e88f 100644 --- a/test/performance/tests/test_util/metrics.py +++ b/test/performance/tests/test_util/metrics.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # import os from typing import List diff --git a/test/performance/tests/test_util/util.py b/test/performance/tests/test_util/util.py index e8fe3824..be550ab8 100644 --- a/test/performance/tests/test_util/util.py +++ b/test/performance/tests/test_util/util.py @@ -1,5 +1,5 @@ # -# Copyright 2024 Canonical, Ltd. +# Copyright 2025 Canonical, Ltd. # import ipaddress import json @@ -167,14 +167,7 @@ def configure_dqlite_logging(instance: harness.Instance): ] ) if config.K8S_DQLITE_DEBUG: - instance.exec( - [ - "echo", - "--debug" - ">>", - "/var/snap/k8s/common/args/k8s-dqlite" - ] - ) + instance.exec(["echo", "--debug", ">>", "/var/snap/k8s/common/args/k8s-dqlite"]) def setup_k8s_snap(