diff options
author | Rémi Duraffort <remi.duraffort@linaro.org> | 2018-07-12 16:44:55 +0200 |
---|---|---|
committer | Rémi Duraffort <remi.duraffort@linaro.org> | 2018-07-13 09:48:39 +0200 |
commit | 60c137be0ee2eb9cfc81148171ee520ab288219c (patch) | |
tree | cd432eaec14c083557906d4a5a14ac9a10bf6b52 | |
parent | ec8c147bd1992eda6f707ae96362997ca15f4eca (diff) |
Remove unused sources
Change-Id: I6154819210bff5d816f6c385a19257a4604da76e
-rw-r--r-- | linaro_django_xmlrpc/test_project/__init__.py | 0 | ||||
-rw-r--r-- | linaro_django_xmlrpc/test_project/example/__init__.py | 0 | ||||
-rw-r--r-- | linaro_django_xmlrpc/test_project/example/models.py | 16 | ||||
-rw-r--r-- | linaro_django_xmlrpc/test_project/example/tests.py | 18 | ||||
-rw-r--r-- | linaro_django_xmlrpc/test_project/example/views.py | 1 | ||||
-rw-r--r-- | linaro_django_xmlrpc/test_project/tests.py | 8 | ||||
-rw-r--r-- | linaro_django_xmlrpc/test_project/urls.py | 7 |
7 files changed, 0 insertions, 50 deletions
diff --git a/linaro_django_xmlrpc/test_project/__init__.py b/linaro_django_xmlrpc/test_project/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/linaro_django_xmlrpc/test_project/__init__.py +++ /dev/null diff --git a/linaro_django_xmlrpc/test_project/example/__init__.py b/linaro_django_xmlrpc/test_project/example/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/linaro_django_xmlrpc/test_project/example/__init__.py +++ /dev/null diff --git a/linaro_django_xmlrpc/test_project/example/models.py b/linaro_django_xmlrpc/test_project/example/models.py deleted file mode 100644 index 622d266b1..000000000 --- a/linaro_django_xmlrpc/test_project/example/models.py +++ /dev/null @@ -1,16 +0,0 @@ -from linaro_django_xmlrpc.models import ExposedAPI - - -class ExampleAPI(ExposedAPI): - - def foo(self): - """ - Return "bar" - """ - return "bar" - - def whoami(self): - if self.user: - return self.user.username - else: - return None diff --git a/linaro_django_xmlrpc/test_project/example/tests.py b/linaro_django_xmlrpc/test_project/example/tests.py deleted file mode 100644 index 1a8415c70..000000000 --- a/linaro_django_xmlrpc/test_project/example/tests.py +++ /dev/null @@ -1,18 +0,0 @@ -""" -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 - -from linaro_django_xmlrpc.test_project.example.models import ExampleAPI - - -class ExampleAPITestCase(TestCase): - - def test_foo(self): - obj = ExampleAPI() - retval = obj.foo() - self.assertEqual(retval, "bar") diff --git a/linaro_django_xmlrpc/test_project/example/views.py b/linaro_django_xmlrpc/test_project/example/views.py deleted file mode 100644 index 60f00ef0e..000000000 --- a/linaro_django_xmlrpc/test_project/example/views.py +++ /dev/null @@ -1 +0,0 @@ -# Create your views here. diff --git a/linaro_django_xmlrpc/test_project/tests.py b/linaro_django_xmlrpc/test_project/tests.py deleted file mode 100644 index be41b12fd..000000000 --- a/linaro_django_xmlrpc/test_project/tests.py +++ /dev/null @@ -1,8 +0,0 @@ -def run_tests(): - from django_testproject.tests import run_tests_for - # test last two items in INSTALLED APPS - return run_tests_for("linaro_django_xmlrpc.test_project.settings", -2) - - -if __name__ == '__main__': - run_tests() diff --git a/linaro_django_xmlrpc/test_project/urls.py b/linaro_django_xmlrpc/test_project/urls.py deleted file mode 100644 index f69d92293..000000000 --- a/linaro_django_xmlrpc/test_project/urls.py +++ /dev/null @@ -1,7 +0,0 @@ -from django.conf.urls import patterns, url, include - -urlpatterns = patterns( - '', - url(r'', include('linaro_django_xmlrpc.urls')), - url(r'^accounts/', include('django.contrib.auth.urls')), -) |