rehearsal: ruff production 0 (drop unused agent_def os + server AuthStore imports) and quote 8 unquoted env keys in main-side test tearDowns (latent NameError)
This commit is contained in:
1 parent
da027f8628
commit
6d009af48f
5 files changed
+8
-10
No files matched your search
@@ -197,7 +197,7 @@ class _RunOneCase(unittest.TestCase):
|
||||
if self._old is None:
|
||||
os.environ.pop("CODEX_PUSH_ALLOW_PRIVATE_TARGETS", None)
|
||||
else:
|
||||
os.environ[CODEX_PUSH_ALLOW_PRIVATE_TARGETS] = self._old
|
||||
os.environ["CODEX_PUSH_ALLOW_PRIVATE_TARGETS"] = self._old
|
||||
self.tmp.cleanup()
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ class I1MarkerTestCase(unittest.TestCase):
|
||||
if self._old is None:
|
||||
os.environ.pop("CODEX_PUSH_ALLOW_PRIVATE_TARGETS", None)
|
||||
else:
|
||||
os.environ[CODEX_PUSH_ALLOW_PRIVATE_TARGETS] = self._old
|
||||
os.environ["CODEX_PUSH_ALLOW_PRIVATE_TARGETS"] = self._old
|
||||
self.tmp.cleanup()
|
||||
|
||||
def _merge(self, child_error, audit_rows=()):
|
||||
@@ -343,7 +343,7 @@ class _WireCase(unittest.TestCase):
|
||||
if self._old is None:
|
||||
os.environ.pop("CODEX_PUSH_ALLOW_PRIVATE_TARGETS", None)
|
||||
else:
|
||||
os.environ[CODEX_PUSH_ALLOW_PRIVATE_TARGETS] = self._old
|
||||
os.environ["CODEX_PUSH_ALLOW_PRIVATE_TARGETS"] = self._old
|
||||
self.tmp.cleanup()
|
||||
|
||||
def _worker(self, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user