summaryrefslogtreecommitdiff
path: root/tests/twisted/account-manager/auto-connect.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/twisted/account-manager/auto-connect.py')
-rw-r--r--tests/twisted/account-manager/auto-connect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/account-manager/auto-connect.py b/tests/twisted/account-manager/auto-connect.py
index a623902c..fc7dccf0 100644
--- a/tests/twisted/account-manager/auto-connect.py
+++ b/tests/twisted/account-manager/auto-connect.py
@@ -40,7 +40,7 @@ def preseed(q, bus, fake_accounts_service):
accounts_dir = os.environ['MC_ACCOUNT_DIR']
try:
- os.mkdir(accounts_dir, 0700)
+ os.mkdir(accounts_dir, 0o700)
except OSError:
pass
@@ -155,7 +155,7 @@ def test(q, bus, unused, **kwargs):
assert props['ConnectionStatus'] == cs.CONN_STATUS_CONNECTING
assert props['ConnectionStatusReason'] == cs.CONN_STATUS_REASON_REQUESTED
- print "becoming connected"
+ print("becoming connected")
conn.StatusChanged(cs.CONN_STATUS_CONNECTED, cs.CONN_STATUS_REASON_NONE)
set_aliases, set_presence, set_avatar, prop_changed = q.expect_many(