from django.test import TestCase

# Create your tests here.

from apps.blog.models import Article, Category, Tag
class ArticleTestCase(TestCase):
    def test_mon(self):

        months = Article.objects.datetimes('pub_time', 'month', order='DESC')
        self.assertEqual(0, months.count())
aa01fd791664940a905f6d86487566b8fd810496
<mask token>

<mask token>


class ArticleTestCase(TestCase):
    <mask token>

<mask token>


class ArticleTestCase(TestCase):

    def test_mon(self):
        months = Article.objects.datetimes('pub_time', 'month', order='DESC')
        self.assertEqual(0, months.count())

from django.test import TestCase
from apps.blog.models import Article, Category, Tag


class ArticleTestCase(TestCase):

    def test_mon(self):
        months = Article.objects.datetimes('pub_time', 'month', order='DESC')
        self.assertEqual(0, months.count())

from django.test import TestCase

# Create your tests here.

from apps.blog.models import Article, Category, Tag
class ArticleTestCase(TestCase):
    def test_mon(self):

        months = Article.objects.datetimes('pub_time', 'month', order='DESC')
        self.assertEqual(0, months.count())