<filename>tests/constants.py
from collections import namedtuple

TEST_IMAGE_NAME: str = "example-application"
TEST_CONTAINER_NAME: str ="application-test-container"

CpuConfig = namedtuple("CpuConfig", ["cfs_period_us", "cfs_quota_us"])
CPU_PARAMETERS = [
    CpuConfig(cfs_period_us=100000, cfs_quota_us=100000),
    CpuConfig(cfs_period_us=100000, cfs_quota_us=150000),
]

<filename>tests/constants.py
from collections import namedtuple

TEST_IMAGE_NAME: str = "example-application"
TEST_CONTAINER_NAME: str ="application-test-container"

CpuConfig = namedtuple("CpuConfig", ["cfs_period_us", "cfs_quota_us"])
CPU_PARAMETERS = [
    CpuConfig(cfs_period_us=100000, cfs_quota_us=100000),
    CpuConfig(cfs_period_us=100000, cfs_quota_us=150000),
]
