def test_deletion(self):
        """blogs.tests.testapp.Article: deletion works correctly"""
        article = Article(title='foo', body='bar')
        article.full_clean()
        article.save()

        num = Article.objects.all().count()
        article.delete()
        self.assertEqual(Article.objects.all().count(), num - 1)