From 17bfe1b2e1a139efcb4d6cd554fe1e5044fea171 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 28 Feb 2013 09:20:31 -0500 Subject: [PATCH] Create stubs for various services --- acom/__init__.pyc | Bin 0 -> 130 bytes acom/audits/__init__.py | 0 acom/audits/models.py | 3 +++ acom/audits/tests.py | 23 +++++++++++++++++++++++ acom/audits/views.py | 1 + acom/events/__init__.py | 0 acom/events/models.py | 3 +++ acom/events/tests.py | 23 +++++++++++++++++++++++ acom/events/views.py | 1 + acom/groups/__init__.py | 0 acom/groups/models.py | 3 +++ acom/groups/tests.py | 23 +++++++++++++++++++++++ acom/groups/views.py | 1 + acom/hosts/__init__.py | 0 acom/hosts/models.py | 3 +++ acom/hosts/tests.py | 23 +++++++++++++++++++++++ acom/hosts/views.py | 1 + acom/inventory/__init__.py | 0 acom/inventory/models.py | 3 +++ acom/inventory/tests.py | 23 +++++++++++++++++++++++ acom/inventory/views.py | 1 + acom/jobs/__init__.py | 0 acom/jobs/models.py | 3 +++ acom/jobs/tests.py | 23 +++++++++++++++++++++++ acom/jobs/views.py | 1 + acom/orgs/__init__.py | 0 acom/orgs/models.py | 3 +++ acom/orgs/tests.py | 23 +++++++++++++++++++++++ acom/orgs/views.py | 1 + acom/permissions/__init__.py | 0 acom/permissions/models.py | 3 +++ acom/permissions/tests.py | 23 +++++++++++++++++++++++ acom/permissions/views.py | 1 + acom/projects/__init__.py | 0 acom/projects/models.py | 3 +++ acom/projects/tests.py | 23 +++++++++++++++++++++++ acom/projects/views.py | 1 + acom/reports/__init__.py | 0 acom/reports/models.py | 3 +++ acom/reports/tests.py | 23 +++++++++++++++++++++++ acom/reports/views.py | 1 + acom/settings.py | 4 ++-- acom/settings.pyc | Bin 0 -> 1906 bytes acom/teams/__init__.py | 0 acom/teams/models.py | 3 +++ acom/teams/tests.py | 23 +++++++++++++++++++++++ acom/teams/views.py | 1 + acom/urls.pyc | Bin 0 -> 230 bytes acom/users/__init__.py | 0 acom/users/models.py | 3 +++ acom/users/tests.py | 23 +++++++++++++++++++++++ acom/users/views.py | 1 + 52 files changed, 326 insertions(+), 2 deletions(-) create mode 100644 acom/__init__.pyc create mode 100644 acom/audits/__init__.py create mode 100644 acom/audits/models.py create mode 100644 acom/audits/tests.py create mode 100644 acom/audits/views.py create mode 100644 acom/events/__init__.py create mode 100644 acom/events/models.py create mode 100644 acom/events/tests.py create mode 100644 acom/events/views.py create mode 100644 acom/groups/__init__.py create mode 100644 acom/groups/models.py create mode 100644 acom/groups/tests.py create mode 100644 acom/groups/views.py create mode 100644 acom/hosts/__init__.py create mode 100644 acom/hosts/models.py create mode 100644 acom/hosts/tests.py create mode 100644 acom/hosts/views.py create mode 100644 acom/inventory/__init__.py create mode 100644 acom/inventory/models.py create mode 100644 acom/inventory/tests.py create mode 100644 acom/inventory/views.py create mode 100644 acom/jobs/__init__.py create mode 100644 acom/jobs/models.py create mode 100644 acom/jobs/tests.py create mode 100644 acom/jobs/views.py create mode 100644 acom/orgs/__init__.py create mode 100644 acom/orgs/models.py create mode 100644 acom/orgs/tests.py create mode 100644 acom/orgs/views.py create mode 100644 acom/permissions/__init__.py create mode 100644 acom/permissions/models.py create mode 100644 acom/permissions/tests.py create mode 100644 acom/permissions/views.py create mode 100644 acom/projects/__init__.py create mode 100644 acom/projects/models.py create mode 100644 acom/projects/tests.py create mode 100644 acom/projects/views.py create mode 100644 acom/reports/__init__.py create mode 100644 acom/reports/models.py create mode 100644 acom/reports/tests.py create mode 100644 acom/reports/views.py create mode 100644 acom/settings.pyc create mode 100644 acom/teams/__init__.py create mode 100644 acom/teams/models.py create mode 100644 acom/teams/tests.py create mode 100644 acom/teams/views.py create mode 100644 acom/urls.pyc create mode 100644 acom/users/__init__.py create mode 100644 acom/users/models.py create mode 100644 acom/users/tests.py create mode 100644 acom/users/views.py diff --git a/acom/__init__.pyc b/acom/__init__.pyc new file mode 100644 index 0000000000000000000000000000000000000000..be5d09527f19c18f18a95c81b3f5a0b865322e4d GIT binary patch literal 130 zcmcckiI>YVRX;G90SXv_v;z>> 1 + 1 == 2 +True +"""} + diff --git a/acom/audits/views.py b/acom/audits/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/audits/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/events/__init__.py b/acom/events/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/events/models.py b/acom/events/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/events/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/events/tests.py b/acom/events/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/events/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/acom/events/views.py b/acom/events/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/events/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/groups/__init__.py b/acom/groups/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/groups/models.py b/acom/groups/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/groups/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/groups/tests.py b/acom/groups/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/groups/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/acom/groups/views.py b/acom/groups/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/groups/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/hosts/__init__.py b/acom/hosts/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/hosts/models.py b/acom/hosts/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/hosts/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/hosts/tests.py b/acom/hosts/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/hosts/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/acom/hosts/views.py b/acom/hosts/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/hosts/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/inventory/__init__.py b/acom/inventory/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/inventory/models.py b/acom/inventory/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/inventory/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/inventory/tests.py b/acom/inventory/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/inventory/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/acom/inventory/views.py b/acom/inventory/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/inventory/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/jobs/__init__.py b/acom/jobs/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/jobs/models.py b/acom/jobs/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/jobs/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/jobs/tests.py b/acom/jobs/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/jobs/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/acom/jobs/views.py b/acom/jobs/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/jobs/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/orgs/__init__.py b/acom/orgs/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/orgs/models.py b/acom/orgs/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/orgs/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/orgs/tests.py b/acom/orgs/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/orgs/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/acom/orgs/views.py b/acom/orgs/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/orgs/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/permissions/__init__.py b/acom/permissions/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/permissions/models.py b/acom/permissions/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/permissions/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/permissions/tests.py b/acom/permissions/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/permissions/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/acom/permissions/views.py b/acom/permissions/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/permissions/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/projects/__init__.py b/acom/projects/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/projects/models.py b/acom/projects/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/projects/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/projects/tests.py b/acom/projects/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/projects/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/acom/projects/views.py b/acom/projects/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/projects/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/reports/__init__.py b/acom/reports/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/reports/models.py b/acom/reports/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/reports/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/reports/tests.py b/acom/reports/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/reports/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/acom/reports/views.py b/acom/reports/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/reports/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/settings.py b/acom/settings.py index c5e9dc155c..78c35f832f 100644 --- a/acom/settings.py +++ b/acom/settings.py @@ -11,7 +11,7 @@ MANAGERS = ADMINS DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. + 'ENGINE': 'postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': '', # Or path to database file if using sqlite3. 'USER': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. @@ -27,7 +27,7 @@ DATABASES = { # timezone as the operating system. # If running in a Windows environment this must be set to the same as your # system time zone. -TIME_ZONE = 'America/Chicago' +TIME_ZONE = 'America/NewYork' # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html diff --git a/acom/settings.pyc b/acom/settings.pyc new file mode 100644 index 0000000000000000000000000000000000000000..659ba0531379b8b5035ca6b3d6961cfdb9a22e91 GIT binary patch literal 1906 zcmd^9+m72d5FPm%YKA`eM#D7J7BRL-V>HxEHk#bUNXb#Wza)9@jJ)}(DEx<#bB zaDOP@lV9l;UK?utT6nz&-_f3)p8sZv*=T=tsal2YLtC7eMadJVv`X{rz-t@-BID zJbpMFX9>T!7%$n|Q^8(;JwnON+=b6OnON`#) z-jHI7=|l^Bb1Ox=!CJ&!3>x9XwN;r2QT5PO;Wsa>QV{pAgQ~A0k|CMeSRxMP|qo7=IS>*g(~^(+%5n{Ccd}x}%>F&zDu78+xEW*L~9L0@EfTb#W{nqR-NuvvWKe zPF#c3BhNSSQq!of!7&+{Cr_R2#yWZA$UWrQ#4z>HbKRg0(QMB>OWxTe5;oY>BQMNf zYmQGQ9tpyq$SZjpPi!fN&Kk#Oo)n^P4hT0Nep*33ODIcYbFQX_MRsa4*2rgxuEreFA>xVu|bGAzO s_g&-&1BI%n9kr)+x=L3WY}e6#h2ghaeOz6&2a4JUrCGS|sDsV!Pu~I?`Tzg` literal 0 HcmV?d00001 diff --git a/acom/teams/__init__.py b/acom/teams/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/teams/models.py b/acom/teams/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/teams/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/teams/tests.py b/acom/teams/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/teams/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/acom/teams/views.py b/acom/teams/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/teams/views.py @@ -0,0 +1 @@ +# Create your views here. diff --git a/acom/urls.pyc b/acom/urls.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3b39d1050e87c79b6fca65db107d61bd1ba6fcd3 GIT binary patch literal 230 zcmYL@K?=e!5Je}gh*Ug)UclfYSqmbbKoDKI3(aWNCMnHy;o1{=6)&LER&khlGoKHi zdA=su67?>JZ>799JaNXb+yZU@2NYlvcnCNqU{l!30o#{1mlS+aiv=-YE87T~GVIm( zb5MEkC)LztR2EOBDJjy3-O3PQ?IVp@u>I4LCHxWREOikaYG<)9#%q%Y*F&j(cj?u= R%U!u(n-bUUOEF<&!w>XvG|K=0 literal 0 HcmV?d00001 diff --git a/acom/users/__init__.py b/acom/users/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/acom/users/models.py b/acom/users/models.py new file mode 100644 index 0000000000..71a8362390 --- /dev/null +++ b/acom/users/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/acom/users/tests.py b/acom/users/tests.py new file mode 100644 index 0000000000..2247054b35 --- /dev/null +++ b/acom/users/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/acom/users/views.py b/acom/users/views.py new file mode 100644 index 0000000000..60f00ef0ef --- /dev/null +++ b/acom/users/views.py @@ -0,0 +1 @@ +# Create your views here.