[oe-commits] [bitbake] 07/20: toaster: Move views tests to main testing module

git at git.openembedded.org git at git.openembedded.org
Thu Nov 3 13:34:23 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit ab5b86fe06ac5ee172a5b32e734fa1591a334ee4
Author: Michael Wood <michael.g.wood at intel.com>
AuthorDate: Fri Oct 28 18:48:43 2016 +0300

    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.
    
    Signed-off-by: Michael Wood <michael.g.wood at intel.com>
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/toaster/tests/views/README                                 | 4 ++++
 lib/toaster/tests/views/__init__.py                            | 0
 lib/toaster/{toastergui/tests.py => tests/views/test_views.py} | 0
 3 files changed, 4 insertions(+)

diff --git a/lib/toaster/tests/views/README b/lib/toaster/tests/views/README
new file mode 100644
index 0000000..950c7c9
--- /dev/null
+++ b/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/lib/toaster/tests/views/__init__.py b/lib/toaster/tests/views/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/lib/toaster/toastergui/tests.py b/lib/toaster/tests/views/test_views.py
similarity index 100%
rename from lib/toaster/toastergui/tests.py
rename to lib/toaster/tests/views/test_views.py

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list