Skip to content

Commit

Permalink
removed disqus from tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
yaph committed Sep 8, 2013
1 parent 9d04fc0 commit 6c44d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def release():


def git():
local('nosetests')
local('git add . && git commit -a')


Expand Down
7 changes: 1 addition & 6 deletions tests/test_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@ def setUp(self):

def test_extension_directories(self):
extensions = {
'disqus': 'logya/ext/disqus',
'sitemap': 'logya/ext/sitemap',
}
# the code below sucks
for e in self.extension_loader.get_by_type('doc'):
name = e.get_module_name()
if 'disqus' == name:
self.assertTrue(e.get_directory().endswith(extensions[name]))
for e in self.extension_loader.get_by_type('index'):
name = e.get_module_name()
if 'sitemap' == name:
self.assertTrue(e.get_directory().endswith(extensions[name]))
self.assertTrue(e.get_directory().endswith(extensions[name]))

0 comments on commit 6c44d52

Please sign in to comment.