Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien committed Apr 29, 2012
1 parent dff44ca commit 7689847
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tests/test-action-email.py
Expand Up @@ -5,7 +5,7 @@
action = Email( action = Email(
"sebastien@ffctn.com", "sebastien@ffctn.com",
"[Daemonwatch] Test", "Sample message", "[Daemonwatch] Test", "Sample message",
email["smtp"],email["user"],email["password"] config["smtp"],config["user"],config["password"]
) )
Monitor( Monitor(
Service( Service(
Expand Down
6 changes: 4 additions & 2 deletions Tests/test-action-xmpp.py
@@ -1,9 +1,11 @@
#!/usr/bin/env python #!/usr/bin/env python
from daemonwatch import * from daemonwatch import *
import json
config = json.loads(file("jabber.passwd").read())
action = XMPP( action = XMPP(
"sebastien@njs.netlab.cz", "sebastien@ffctn.com",
"Daemonwatch: testing iteration #${iteration}@${timestamp}=${result}", "Daemonwatch: testing iteration #${iteration}@${timestamp}=${result}",
"happyclinic@jabber.org", "nobber" config["user"], config["password"]
) )
Monitor( Monitor(
Service( Service(
Expand Down

0 comments on commit 7689847

Please sign in to comment.