11from testcontainers .core .labels import (
22 LABEL_LANG ,
33 LABEL_SESSION_ID ,
4- LABEL_TEST_CONTAINERS ,
4+ LABEL_TESTCONTAINERS ,
55 LABEL_VERSION ,
66 create_labels ,
7- TEST_CONTAINERS_NAMESPACE ,
7+ TESTCONTAINERS_NAMESPACE ,
88)
99import pytest
1010from testcontainers .core .config import RYUK_IMAGE
@@ -18,7 +18,7 @@ def assert_in_with_value(labels: dict, label: str, value: str, known_before_test
1818
1919testdata = [
2020 (LABEL_LANG , "python" , True ),
21- (LABEL_TEST_CONTAINERS , "true" , True ),
21+ (LABEL_TESTCONTAINERS , "true" , True ),
2222 (LABEL_SESSION_ID , "some" , False ),
2323 (LABEL_VERSION , "some" , False ),
2424]
@@ -33,7 +33,7 @@ def test_containers_creates_expected_labels(label, value, known_before_test_time
3333def test_containers_throws_on_namespace_collision ():
3434
3535 with pytest .raises (ValueError ):
36- create_labels ("not-ryuk" , {TEST_CONTAINERS_NAMESPACE : "fake" })
36+ create_labels ("not-ryuk" , {TESTCONTAINERS_NAMESPACE : "fake" })
3737
3838
3939def test_containers_respect_custom_labels_if_no_collision ():
0 commit comments