Permalink
Browse files

Make icon path more portable for image test

  • Loading branch information...
1 parent 98a70ec commit f9004902b0edcfef6cbea0cca3c7ed680ad4f873 @kfdm committed Feb 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/test_mini.py
View
@@ -7,13 +7,14 @@
import unittest
import logging
+import os
logging.basicConfig(level=logging.WARNING)
import gntp.config
import gntp.notifier
APPLICATION_NAME = "GNTP unittest"
ICON_URL = "https://www.google.com/intl/en_com/images/srpr/logo3w.png"
-ICON_FILE = "test/growl-icon.png"
+ICON_FILE = os.path.join(os.path.dirname(__file__), "growl-icon.png")
CALLBACK_URL = "http://github.com"

0 comments on commit f900490

Please sign in to comment.