From effbf9e09e527a4bfb1e1ba5146ade2bad02e673 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Fri, 28 Oct 2016 18:48:43 +0300 Subject: [PATCH] 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 Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- bitbake/lib/toaster/tests/views/README | 4 ++++ bitbake/lib/toaster/tests/views/__init__.py | 0 .../{toastergui/tests.py => tests/views/test_views.py} | 0 3 files changed, 4 insertions(+) create mode 100644 bitbake/lib/toaster/tests/views/README create mode 100644 bitbake/lib/toaster/tests/views/__init__.py rename bitbake/lib/toaster/{toastergui/tests.py => tests/views/test_views.py} (100%) diff --git a/bitbake/lib/toaster/tests/views/README b/bitbake/lib/toaster/tests/views/README new file mode 100644 index 0000000000..950c7c9897 --- /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 0000000000..e69de29bb2 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