Skip to content
This repository
Browse code

adding placeholders for analytics and media modules

  • Loading branch information...
commit afffebc0ee51840032a2eef8a96b10662e5198a2 1 parent f382ca1
Konstantin Kovshenin authored
0  analytics/__init__.py
No changes.
3  analytics/models.py
... ... @@ -0,0 +1,3 @@
  1 +from django.db import models
  2 +
  3 +# Create your models here.
23 analytics/tests.py
... ... @@ -0,0 +1,23 @@
  1 +"""
  2 +This file demonstrates two different styles of tests (one doctest and one
  3 +unittest). These will both pass when you run "manage.py test".
  4 +
  5 +Replace these with more appropriate tests for your application.
  6 +"""
  7 +
  8 +from django.test import TestCase
  9 +
  10 +class SimpleTest(TestCase):
  11 + def test_basic_addition(self):
  12 + """
  13 + Tests that 1 + 1 always equals 2.
  14 + """
  15 + self.failUnlessEqual(1 + 1, 2)
  16 +
  17 +__test__ = {"doctest": """
  18 +Another way to test that 1 + 1 is equal to 2.
  19 +
  20 +>>> 1 + 1 == 2
  21 +True
  22 +"""}
  23 +
1  analytics/views.py
... ... @@ -0,0 +1 @@
  1 +# Create your views here.
0  media/__init__.py
No changes.
3  media/models.py
... ... @@ -0,0 +1,3 @@
  1 +from django.db import models
  2 +
  3 +# Create your models here.
23 media/tests.py
... ... @@ -0,0 +1,23 @@
  1 +"""
  2 +This file demonstrates two different styles of tests (one doctest and one
  3 +unittest). These will both pass when you run "manage.py test".
  4 +
  5 +Replace these with more appropriate tests for your application.
  6 +"""
  7 +
  8 +from django.test import TestCase
  9 +
  10 +class SimpleTest(TestCase):
  11 + def test_basic_addition(self):
  12 + """
  13 + Tests that 1 + 1 always equals 2.
  14 + """
  15 + self.failUnlessEqual(1 + 1, 2)
  16 +
  17 +__test__ = {"doctest": """
  18 +Another way to test that 1 + 1 is equal to 2.
  19 +
  20 +>>> 1 + 1 == 2
  21 +True
  22 +"""}
  23 +
1  media/views.py
... ... @@ -0,0 +1 @@
  1 +# Create your views here.

0 comments on commit afffebc

Please sign in to comment.
Something went wrong with that request. Please try again.