From 435fbaa50481f86a0abea3f2a65a8283e8c71339 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 2 Nov 2019 20:07:47 +0100 Subject: [PATCH] fix oct file permissions test --- molecule/default/tests/test_default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/default/tests/test_default.py b/molecule/default/tests/test_default.py index 8b47634..c35e6c5 100644 --- a/molecule/default/tests/test_default.py +++ b/molecule/default/tests/test_default.py @@ -15,4 +15,4 @@ def test_sshd_config_file(host): assert sshd.exists assert sshd.user == "root" assert sshd.group == "root" - assert oct(sshd.mode) == "0600" + assert sshd.mode == 0o600