test_article.py 240 Bytes
Newer Older
luxcem's avatar
luxcem committed
1
2
3
4
5
6
7
8
9
10
11
12
from rp.models import Article
from rp.factories import ArticleFactory
from rp.apps import RpConfig


def test_init():
    assert RpConfig.name == "rp"


def test_article():
    article = ArticleFactory()
    assert type(article) == Article