summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-06-09 12:05:26 +0100
committerAlexandru DAMIAN <alexandru.damian@intel.com>2014-06-12 14:38:28 +0100
commit08556b79b7b2af08aaeedf8733b1b8996f387c4e (patch)
treeb4662deb95432ed272dba6081b8c63c06870bebd /lib
parent2e742c03e8dfdfa67899e7f5d579ed14bd87e139 (diff)
downloadbitbake-contrib-08556b79b7b2af08aaeedf8733b1b8996f387c4e.tar.gz
toaster: initial bldcontrol application
The build features of Toaster will be contained into a separate application, as to modularize the Toaster project and provide multiple options for deployment. This patch adds the application as a barebone Django application in the Toaster project. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/toaster/bldcontrol/__init__.py0
-rw-r--r--lib/toaster/bldcontrol/models.py3
-rw-r--r--lib/toaster/bldcontrol/tests.py16
-rw-r--r--lib/toaster/bldcontrol/views.py1
4 files changed, 20 insertions, 0 deletions
diff --git a/lib/toaster/bldcontrol/__init__.py b/lib/toaster/bldcontrol/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/lib/toaster/bldcontrol/__init__.py
diff --git a/lib/toaster/bldcontrol/models.py b/lib/toaster/bldcontrol/models.py
new file mode 100644
index 000000000..71a836239
--- /dev/null
+++ b/lib/toaster/bldcontrol/models.py
@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.
diff --git a/lib/toaster/bldcontrol/tests.py b/lib/toaster/bldcontrol/tests.py
new file mode 100644
index 000000000..501deb776
--- /dev/null
+++ b/lib/toaster/bldcontrol/tests.py
@@ -0,0 +1,16 @@
+"""
+This file demonstrates writing tests using the unittest module. These will pass
+when you run "manage.py test".
+
+Replace this 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.assertEqual(1 + 1, 2)
diff --git a/lib/toaster/bldcontrol/views.py b/lib/toaster/bldcontrol/views.py
new file mode 100644
index 000000000..60f00ef0e
--- /dev/null
+++ b/lib/toaster/bldcontrol/views.py
@@ -0,0 +1 @@
+# Create your views here.