@@ -73,13 +73,13 @@ def test_disallow_secret(self, project):
7373class TestAllowSecretProfilePackage (FirstDependencyProject ):
7474 @pytest .fixture (scope = "class" , autouse = True )
7575 def setup (self ):
76- os .environ [SECRET_ENV_PREFIX + "USER " ] = "root"
77- os .environ [SECRET_ENV_PREFIX + "PASS " ] = "password"
78- os .environ [SECRET_ENV_PREFIX + "PACKAGE " ] = "first_dependency"
76+ os .environ [SECRET_ENV_PREFIX + "_USER " ] = "root"
77+ os .environ [SECRET_ENV_PREFIX + "_PASS " ] = "password"
78+ os .environ [SECRET_ENV_PREFIX + "_PACKAGE " ] = "first_dependency"
7979 yield
80- del os .environ [SECRET_ENV_PREFIX + "USER " ]
81- del os .environ [SECRET_ENV_PREFIX + "PASS " ]
82- del os .environ [SECRET_ENV_PREFIX + "PACKAGE " ]
80+ del os .environ [SECRET_ENV_PREFIX + "_USER " ]
81+ del os .environ [SECRET_ENV_PREFIX + "_PASS " ]
82+ del os .environ [SECRET_ENV_PREFIX + "_PACKAGE " ]
8383
8484 @pytest .fixture (scope = "class" )
8585 def models (self ):
@@ -114,7 +114,7 @@ def test_allow_secrets(self, project, first_dependency):
114114class TestCloneFailSecretScrubbed :
115115 @pytest .fixture (scope = "class" , autouse = True )
116116 def setup (self ):
117- os .environ [SECRET_ENV_PREFIX + "GIT_TOKEN " ] = "abc123"
117+ os .environ [SECRET_ENV_PREFIX + "_GIT_TOKEN " ] = "abc123"
118118
119119 @pytest .fixture (scope = "class" )
120120 def models (self ):
0 commit comments