refactor(smolmachines): inline sidecar proxy host
This commit is contained in:
@@ -503,15 +503,6 @@ class TestProvisionGitUser(unittest.TestCase):
|
||||
self.assertIn("bot@example.com", calls[0][0])
|
||||
|
||||
|
||||
class TestProxyHost(unittest.TestCase):
|
||||
"""_proxy_host returns the per-bottle address used by the forwarder."""
|
||||
|
||||
def test_returns_loopback_alias(self):
|
||||
plan = _plan()
|
||||
result = _launch._proxy_host(plan, "127.0.0.16")
|
||||
self.assertEqual("127.0.0.16", result)
|
||||
|
||||
|
||||
class TestLaunchResourceWiring(unittest.TestCase):
|
||||
def test_allocate_resources_uses_loopback_alias_and_bundle_name(self):
|
||||
plan = _plan()
|
||||
|
||||
Reference in New Issue
Block a user