Skip to content

Commit

Permalink
#117 Initial progress, lots of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddieM4 committed Mar 11, 2013
1 parent 57375fd commit ad942b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
File renamed without changes.
8 changes: 6 additions & 2 deletions ejtp/tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import os
import os.path

from ejtp.util.compat import unittest
from ejtp import config

class TestConfig(unittest.TestCase):

config_file = 'resources/examplecache.json'
config_file = os.path.join(
os.path.dirname(__file__),
'examplecache.json'
)

def test_test_filenames(self):
self.assertEqual([self.config_file],
Expand All @@ -24,4 +28,4 @@ def test_configure_identity_cache(self):
cache.find_by_name('mitzi@lackadaisy.com').location)

def test_configure_ejtpd(self):
self.assertRaises(NotImplementedError, config.configure_ejtpd, [])
self.assertRaises(NotImplementedError, config.configure_ejtpd, [])
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
author = 'Philip Horger',
author_email = 'philip.horger@gmail.com',
url = 'https://github.com/campadrenalin/EJTP-lib-python/',
package_data={
'ejtp.tests' : ['examplecache.json']
},
install_requires = [
'pycrypto',
],
Expand Down

0 comments on commit ad942b1

Please sign in to comment.