Skip to content

Commit

Permalink
Revert "Fixed gaps in test coverage"
Browse files Browse the repository at this point in the history
This reverts commit 007038d.
  • Loading branch information
matthewbdaly committed Aug 31, 2014
1 parent 007038d commit e9a95ce
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions blogengine/tests.py
Expand Up @@ -773,10 +773,6 @@ def test_tag_feed(self):
# Check other post is not in this feed
self.assertTrue('This is my <em>second</em> blog post' not in response.content)

def test_tag_does_not_exist_feed(self):
# Fetch a non-existent feed
response = self.client.get('/feeds/posts/tag/whatever/')
self.assertEquals(response.status_code, 404)

class FlatPageViewTest(BaseAcceptanceTest):
def test_create_flat_page(self):
Expand Down Expand Up @@ -838,12 +834,6 @@ def test_search(self):
# Check the second post is contained in the results
self.assertTrue('My second post' in response.content)

def test_failing_search(self):
# Search for content we know is not present
response = self.client.get('/search?q=wibble')
self.assertEquals(response.status_code, 200)
self.assertTrue('No posts found' in response.content)


class SitemapTest(BaseAcceptanceTest):
def test_sitemap(self):
Expand Down

0 comments on commit e9a95ce

Please sign in to comment.