Skip to content

Commit

Permalink
Make failing tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Sep 21, 2015
1 parent 140ebdf commit 53401cf
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/test_integration.py
Expand Up @@ -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:
Expand Down

0 comments on commit 53401cf

Please sign in to comment.