@@ -16,12 +16,12 @@ def sshexec(self, sshdomain):
1616 return get_sshexec (sshdomain )
1717
1818 def test_ls (self , sshexec ):
19- out = sshexec . logged (call = remote .rdns .shell , kwargs = dict (command = "ls" ))
20- out2 = sshexec . logged (call = remote .rdns .shell , kwargs = dict (command = "ls" ))
19+ out = sshexec (call = remote .rdns .shell , kwargs = dict (command = "ls" ))
20+ out2 = sshexec (call = remote .rdns .shell , kwargs = dict (command = "ls" ))
2121 assert out == out2
2222
2323 def test_perform_initial (self , sshexec , maildomain ):
24- res = sshexec . logged (
24+ res = sshexec (
2525 remote .rdns .perform_initial_checks , kwargs = dict (mail_domain = maildomain )
2626 )
2727 assert res ["A" ] or res ["AAAA" ]
@@ -61,7 +61,7 @@ def test_exception(self, sshexec, capsys):
6161 def test_opendkim_restarted (self , sshexec ):
6262 """check that opendkim is not running for longer than a day."""
6363 cmd = "systemctl show opendkim --timestamp=utc --property=ActiveEnterTimestamp"
64- out = sshexec . logged (call = remote .rshell .shell , kwargs = dict (command = cmd ))
64+ out = sshexec (call = remote .rshell .shell , kwargs = dict (command = cmd ))
6565 datestring = out .split ("=" )[1 ]
6666 since_date = datetime .datetime .strptime (datestring , "%a %Y-%m-%d %H:%M:%S %Z" )
6767 now = datetime .datetime .now (since_date .tzinfo )
0 commit comments