[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3190/8267] bitbake: toaster: Move views tests to main testing module



commit effbf9e09e527a4bfb1e1ba5146ade2bad02e673
Author: Michael Wood <michael g wood intel com>
Date:   Fri Oct 28 18:48:43 2016 +0300

    bitbake: toaster: Move views tests to main testing module
    
    Consolidating all the tests to live in the same place to make them more
    discoverable and consistent as well as not cluttering up the django app
    directory.
    
    (Bitbake rev: 66076c006079237d97aaef4f242af5a4fa116d97)
    
    Signed-off-by: Michael Wood <michael g wood intel com>
    Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 bitbake/lib/toaster/tests/views/README             |    4 ++++
 .../tests.py => tests/views/test_views.py}         |    0
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/toaster/tests/views/README b/bitbake/lib/toaster/tests/views/README
new file mode 100644
index 0000000..950c7c9
--- /dev/null
+++ b/bitbake/lib/toaster/tests/views/README
@@ -0,0 +1,4 @@
+
+Django unit tests to verify classes and functions based on django Views
+
+To run just these tests use ./manage.py test tests.views
diff --git a/bitbake/lib/toaster/tests/views/__init__.py b/bitbake/lib/toaster/tests/views/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/tests/views/test_views.py
similarity index 100%
rename from bitbake/lib/toaster/toastergui/tests.py
rename to bitbake/lib/toaster/tests/views/test_views.py


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]