HTTP API: secrets infrastructure #1166

Merged
itamarst merged 18 commits from 3848.http-api-start-immutables into master 2021-12-22 18:39:51 +00:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit a529ba7d5e - Show all commits

View File

@ -36,6 +36,10 @@ class ExtractSecretsTests(TestCase):
"""
Tests for ``_extract_secrets``.
"""
def setUp(self):
if PY2:
raise SkipTest("Not going to bother supporting Python 2")
def test_extract_secrets(self):
"""
``_extract_secrets()`` returns a dictionary with the extracted secrets
@ -130,6 +134,8 @@ class RoutingTests(TestCase):
Tests for the HTTP routing infrastructure.
"""
def setUp(self):
if PY2:
raise SkipTest("Not going to bother supporting Python 2")
self._http_server = TestApp()
self.client = StorageClient(
DecodedURL.from_text("http://127.0.0.1"),