Remove cruft

This commit is contained in:
Daniel A. Wozniak 2023-05-17 00:20:19 -07:00 committed by Gareth J. Greenaway
parent 4672a4dcdd
commit a2bebacc07
3 changed files with 2 additions and 3 deletions

View file

@ -54,7 +54,7 @@ from salt.utils.process import SignalHandlingProcess, default_signals
log = logging.getLogger(__name__)
@salt.ext.tornado.gen.coroutine
def post_master_init(self, master):
"""
Function to finish init after a proxy

View file

@ -168,7 +168,7 @@ def test_pub_server_channel(
p = Path(str(master_config["sock_dir"])) / "workers.ipc"
start = time.time()
while not p.exists():
time.sleep(.3)
time.sleep(0.3)
if time.time() - start > 20:
raise Exception("IPC socket not created")
mode = os.lstat(p).st_mode

View file

@ -30,7 +30,6 @@ async def test_hook_can_handle_get_parameters(http_client, app, content_type_map
)
assert response.code == 200
host = urllib.parse.urlparse(response.effective_url).netloc
print(event.fire_event.calls)
event.fire_event.assert_called_once_with(
{
"headers": {