X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fdd62169ba22c4c1be2f2306b5339eadd74ffb6d..97487ee6a55f54bd483c20557fb554fea4f28844:/apps/apiclient/tests.py?ds=sidebyside diff --git a/apps/apiclient/tests.py b/apps/apiclient/tests.py index 2247054b..13cd4a50 100644 --- a/apps/apiclient/tests.py +++ b/apps/apiclient/tests.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """ This file demonstrates two different styles of tests (one doctest and one unittest). These will both pass when you run "manage.py test". @@ -7,6 +8,7 @@ Replace these with more appropriate tests for your application. from django.test import TestCase + class SimpleTest(TestCase): def test_basic_addition(self): """ @@ -20,4 +22,3 @@ Another way to test that 1 + 1 is equal to 2. >>> 1 + 1 == 2 True """} -