Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed tests

  • Loading branch information...
commit 768984793fb98a2eba226bf037d96ecf29f1c63e 1 parent dff44ca
@sebastien authored
Showing with 5 additions and 3 deletions.
  1. +1 −1  Tests/test-action-email.py
  2. +4 −2 Tests/test-action-xmpp.py
View
2  Tests/test-action-email.py
@@ -5,7 +5,7 @@
action = Email(
"sebastien@ffctn.com",
"[Daemonwatch] Test", "Sample message",
- email["smtp"],email["user"],email["password"]
+ config["smtp"],config["user"],config["password"]
)
Monitor(
Service(
View
6 Tests/test-action-xmpp.py
@@ -1,9 +1,11 @@
#!/usr/bin/env python
from daemonwatch import *
+import json
+config = json.loads(file("jabber.passwd").read())
action = XMPP(
- "sebastien@njs.netlab.cz",
+ "sebastien@ffctn.com",
"Daemonwatch: testing iteration #${iteration}@${timestamp}=${result}",
- "happyclinic@jabber.org", "nobber"
+ config["user"], config["password"]
)
Monitor(
Service(
Please sign in to comment.
Something went wrong with that request. Please try again.