Skip to content
Permalink
Browse files
Make failing tests fail
  • Loading branch information
ralsina committed Sep 21, 2015
1 parent 140ebdf commit 53401cfebf280a742c260061236a099a70afda97
Showing 1 changed file with 2 additions and 9 deletions.
@@ -307,18 +307,11 @@ class TestCheck(DemoBuildTest):

def test_check_links(self):
with cd(self.target_dir):
try:
__main__.main(['check', '-l'])
except SystemExit as e:
self.assertEqual(e.code, 0)
self.assertIsNone(__main__.main(['check', '-l']))

def test_check_files(self):
with cd(self.target_dir):
try:
__main__.main(['check', '-f'])
except SystemExit as e:
self.assertEqual(e.code, 0)

self.assertIsNone(__main__.main(['check', '-f']))

class TestCheckAbsoluteSubFolder(TestCheck):
"""Validate links in a site which is:

0 comments on commit 53401cf

Please sign in to comment.