From 9462183ae246af9fbbffc3e7240a730d884cf995 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Fri, 20 Dec 2013 22:37:45 -0500 Subject: [PATCH] Moved bok-choy page objects and setup.py to common/test/bok_choy --- common/test/README.md | 6 ------ .../test/bok_choy/edxapp_pages}/__init__.py | 0 .../test/bok_choy/edxapp_pages}/lms/__init__.py | 0 .../test/bok_choy/edxapp_pages}/lms/course_about.py | 0 .../test/bok_choy/edxapp_pages}/lms/course_info.py | 0 .../test/bok_choy/edxapp_pages}/lms/course_nav.py | 0 .../test/bok_choy/edxapp_pages}/lms/dashboard.py | 0 .../test/bok_choy/edxapp_pages}/lms/find_courses.py | 0 .../test/bok_choy/edxapp_pages}/lms/info.py | 0 .../test/bok_choy/edxapp_pages}/lms/login.py | 0 .../test/bok_choy/edxapp_pages}/lms/open_response.py | 0 .../test/bok_choy/edxapp_pages}/lms/progress.py | 0 .../test/bok_choy/edxapp_pages}/lms/register.py | 0 .../test/bok_choy/edxapp_pages}/lms/tab_nav.py | 0 .../test/bok_choy/edxapp_pages}/lms/video.py | 0 .../test/bok_choy/edxapp_pages}/studio/__init__.py | 0 .../test/bok_choy/edxapp_pages}/studio/howitworks.py | 0 .../test/bok_choy/edxapp_pages}/studio/login.py | 0 .../test/bok_choy/edxapp_pages}/studio/signup.py | 0 setup.py => common/test/bok_choy/setup.py | 8 ++++---- 20 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 common/test/README.md rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/__init__.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/__init__.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/course_about.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/course_info.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/course_nav.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/dashboard.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/find_courses.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/info.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/login.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/open_response.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/progress.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/register.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/tab_nav.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/lms/video.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/studio/__init__.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/studio/howitworks.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/studio/login.py (100%) rename {edxapp_selenium_pages => common/test/bok_choy/edxapp_pages}/studio/signup.py (100%) rename setup.py => common/test/bok_choy/setup.py (75%) diff --git a/common/test/README.md b/common/test/README.md deleted file mode 100644 index 07c49f7d92..0000000000 --- a/common/test/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Common test infrastructure for LMS + CMS -=========================== - -data/ has some test course data. - -Once the course validation is separated from django, we should have scripts here that checks that a course consists only of xml that we understand. diff --git a/edxapp_selenium_pages/__init__.py b/common/test/bok_choy/edxapp_pages/__init__.py similarity index 100% rename from edxapp_selenium_pages/__init__.py rename to common/test/bok_choy/edxapp_pages/__init__.py diff --git a/edxapp_selenium_pages/lms/__init__.py b/common/test/bok_choy/edxapp_pages/lms/__init__.py similarity index 100% rename from edxapp_selenium_pages/lms/__init__.py rename to common/test/bok_choy/edxapp_pages/lms/__init__.py diff --git a/edxapp_selenium_pages/lms/course_about.py b/common/test/bok_choy/edxapp_pages/lms/course_about.py similarity index 100% rename from edxapp_selenium_pages/lms/course_about.py rename to common/test/bok_choy/edxapp_pages/lms/course_about.py diff --git a/edxapp_selenium_pages/lms/course_info.py b/common/test/bok_choy/edxapp_pages/lms/course_info.py similarity index 100% rename from edxapp_selenium_pages/lms/course_info.py rename to common/test/bok_choy/edxapp_pages/lms/course_info.py diff --git a/edxapp_selenium_pages/lms/course_nav.py b/common/test/bok_choy/edxapp_pages/lms/course_nav.py similarity index 100% rename from edxapp_selenium_pages/lms/course_nav.py rename to common/test/bok_choy/edxapp_pages/lms/course_nav.py diff --git a/edxapp_selenium_pages/lms/dashboard.py b/common/test/bok_choy/edxapp_pages/lms/dashboard.py similarity index 100% rename from edxapp_selenium_pages/lms/dashboard.py rename to common/test/bok_choy/edxapp_pages/lms/dashboard.py diff --git a/edxapp_selenium_pages/lms/find_courses.py b/common/test/bok_choy/edxapp_pages/lms/find_courses.py similarity index 100% rename from edxapp_selenium_pages/lms/find_courses.py rename to common/test/bok_choy/edxapp_pages/lms/find_courses.py diff --git a/edxapp_selenium_pages/lms/info.py b/common/test/bok_choy/edxapp_pages/lms/info.py similarity index 100% rename from edxapp_selenium_pages/lms/info.py rename to common/test/bok_choy/edxapp_pages/lms/info.py diff --git a/edxapp_selenium_pages/lms/login.py b/common/test/bok_choy/edxapp_pages/lms/login.py similarity index 100% rename from edxapp_selenium_pages/lms/login.py rename to common/test/bok_choy/edxapp_pages/lms/login.py diff --git a/edxapp_selenium_pages/lms/open_response.py b/common/test/bok_choy/edxapp_pages/lms/open_response.py similarity index 100% rename from edxapp_selenium_pages/lms/open_response.py rename to common/test/bok_choy/edxapp_pages/lms/open_response.py diff --git a/edxapp_selenium_pages/lms/progress.py b/common/test/bok_choy/edxapp_pages/lms/progress.py similarity index 100% rename from edxapp_selenium_pages/lms/progress.py rename to common/test/bok_choy/edxapp_pages/lms/progress.py diff --git a/edxapp_selenium_pages/lms/register.py b/common/test/bok_choy/edxapp_pages/lms/register.py similarity index 100% rename from edxapp_selenium_pages/lms/register.py rename to common/test/bok_choy/edxapp_pages/lms/register.py diff --git a/edxapp_selenium_pages/lms/tab_nav.py b/common/test/bok_choy/edxapp_pages/lms/tab_nav.py similarity index 100% rename from edxapp_selenium_pages/lms/tab_nav.py rename to common/test/bok_choy/edxapp_pages/lms/tab_nav.py diff --git a/edxapp_selenium_pages/lms/video.py b/common/test/bok_choy/edxapp_pages/lms/video.py similarity index 100% rename from edxapp_selenium_pages/lms/video.py rename to common/test/bok_choy/edxapp_pages/lms/video.py diff --git a/edxapp_selenium_pages/studio/__init__.py b/common/test/bok_choy/edxapp_pages/studio/__init__.py similarity index 100% rename from edxapp_selenium_pages/studio/__init__.py rename to common/test/bok_choy/edxapp_pages/studio/__init__.py diff --git a/edxapp_selenium_pages/studio/howitworks.py b/common/test/bok_choy/edxapp_pages/studio/howitworks.py similarity index 100% rename from edxapp_selenium_pages/studio/howitworks.py rename to common/test/bok_choy/edxapp_pages/studio/howitworks.py diff --git a/edxapp_selenium_pages/studio/login.py b/common/test/bok_choy/edxapp_pages/studio/login.py similarity index 100% rename from edxapp_selenium_pages/studio/login.py rename to common/test/bok_choy/edxapp_pages/studio/login.py diff --git a/edxapp_selenium_pages/studio/signup.py b/common/test/bok_choy/edxapp_pages/studio/signup.py similarity index 100% rename from edxapp_selenium_pages/studio/signup.py rename to common/test/bok_choy/edxapp_pages/studio/signup.py diff --git a/setup.py b/common/test/bok_choy/setup.py similarity index 75% rename from setup.py rename to common/test/bok_choy/setup.py index d4722a1b9d..45e768a127 100644 --- a/setup.py +++ b/common/test/bok_choy/setup.py @@ -1,16 +1,16 @@ #!/usr/bin/env python """ -Install Selenium page objects for acceptance and end-to-end tests. +Install bok-choy page objects for acceptance and end-to-end tests. """ from setuptools import setup VERSION = '0.0.1' -DESCRIPTION = "Selenium page objects for edx-platform" +DESCRIPTION = "Bok-choy page objects for edx-platform" setup( - name='edx-selenium-pages', + name='edxapp-pages', version=VERSION, author='edX', url='http://github.com/edx/edx-platform', @@ -25,5 +25,5 @@ setup( 'Topic :: Software Development :: Testing', 'Topic :: Software Development :: Quality Assurance' ], - packages=['edxapp_selenium_pages'] + packages=['edxapp_pages.lms', 'edxapp_pages.studio'] )