mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove cruft
This commit is contained in:
parent
4672a4dcdd
commit
a2bebacc07
3 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Add table
Reference in a new issue