From f5cd7dc9ae1596605c120dd32e37dded54294d77 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 23 Jul 2011 18:13:11 +0530 Subject: [PATCH] ups, forgot to add files in smsmesn --- best/smsmesn/__init__.py | 0 best/smsmesn/models.py | 3 +++ best/smsmesn/tests.py | 23 +++++++++++++++++++++++ best/smsmesn/views.py | 3 +++ 4 files changed, 29 insertions(+) create mode 100644 best/smsmesn/__init__.py create mode 100644 best/smsmesn/models.py create mode 100644 best/smsmesn/tests.py create mode 100644 best/smsmesn/views.py diff --git a/best/smsmesn/__init__.py b/best/smsmesn/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/best/smsmesn/models.py b/best/smsmesn/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/best/smsmesn/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/best/smsmesn/tests.py b/best/smsmesn/tests.py new file mode 100644 index 0000000..2247054 --- /dev/null +++ b/best/smsmesn/tests.py @@ -0,0 +1,23 @@ +""" +This file demonstrates two different styles of tests (one doctest and one +unittest). These will both pass when you run "manage.py test". + +Replace these with more appropriate tests for your application. +""" + +from django.test import TestCase + +class SimpleTest(TestCase): + def test_basic_addition(self): + """ + Tests that 1 + 1 always equals 2. + """ + self.failUnlessEqual(1 + 1, 2) + +__test__ = {"doctest": """ +Another way to test that 1 + 1 is equal to 2. + +>>> 1 + 1 == 2 +True +"""} + diff --git a/best/smsmesn/views.py b/best/smsmesn/views.py new file mode 100644 index 0000000..bcb9622 --- /dev/null +++ b/best/smsmesn/views.py @@ -0,0 +1,3 @@ +import ox + +buslist_url =