Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
636122c0
Commit
636122c0
authored
Jan 23, 2014
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2277 from edx/zoldak/move-microsite-test-assets
Enable microsite tests
parents
f44489ea
538ecf48
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
6 additions
and
6 deletions
+6
-6
common/test/test_microsites/test_microsite/css/test_microsite.css
+0
-0
common/test/test_microsites/test_microsite/images/background-image.jpg
+0
-0
common/test/test_microsites/test_microsite/images/header-logo.png
+0
-0
common/test/test_microsites/test_microsite/images/login-and-register-banner.png
+0
-0
common/test/test_microsites/test_microsite/templates/emails/activation_email.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/activation_email_subject.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/confirm_email_change.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/email_change.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/email_change_subject.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/enroll_email_allowedmessage.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/enroll_email_allowedsubject.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/enroll_email_enrolledmessage.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/enroll_email_enrolledsubject.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/unenroll_email_allowedmessage.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/unenroll_email_enrolledmessage.txt
+0
-0
common/test/test_microsites/test_microsite/templates/emails/unenroll_email_subject.txt
+0
-0
common/test/test_microsites/test_microsite/templates/footer.html
+0
-0
common/test/test_microsites/test_microsite/templates/login-sidebar.html
+0
-0
common/test/test_microsites/test_microsite/templates/register-sidebar.html
+0
-0
common/test/test_microsites/test_microsite/templates/static_templates/about.html
+0
-0
common/test/test_microsites/test_microsite/templates/static_templates/contact.html
+0
-0
common/test/test_microsites/test_microsite/templates/static_templates/faq.html
+0
-0
common/test/test_microsites/test_microsite/templates/static_templates/tos.html
+0
-0
lms/djangoapps/courseware/tests/test_microsites.py
+5
-5
lms/envs/test.py
+1
-1
No files found.
test_microsites/test_microsite/css/openedx
.css
→
common/test/test_microsites/test_microsite/css/test_microsite
.css
View file @
636122c0
File moved
test_microsites/test_microsite/images/background-image.jpg
→
common/test/
test_microsites/test_microsite/images/background-image.jpg
View file @
636122c0
File moved
test_microsites/test_microsite/images/header-logo.png
→
common/test/
test_microsites/test_microsite/images/header-logo.png
View file @
636122c0
File moved
test_microsites/test_microsite/images/login-and-register-banner.png
→
common/test/
test_microsites/test_microsite/images/login-and-register-banner.png
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/activation_email.txt
→
common/test/
test_microsites/test_microsite/templates/emails/activation_email.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/activation_email_subject.txt
→
common/test/
test_microsites/test_microsite/templates/emails/activation_email_subject.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/confirm_email_change.txt
→
common/test/
test_microsites/test_microsite/templates/emails/confirm_email_change.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/email_change.txt
→
common/test/
test_microsites/test_microsite/templates/emails/email_change.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/email_change_subject.txt
→
common/test/
test_microsites/test_microsite/templates/emails/email_change_subject.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/enroll_email_allowedmessage.txt
→
common/test/
test_microsites/test_microsite/templates/emails/enroll_email_allowedmessage.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/enroll_email_allowedsubject.txt
→
common/test/
test_microsites/test_microsite/templates/emails/enroll_email_allowedsubject.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/enroll_email_enrolledmessage.txt
→
common/test/
test_microsites/test_microsite/templates/emails/enroll_email_enrolledmessage.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/enroll_email_enrolledsubject.txt
→
common/test/
test_microsites/test_microsite/templates/emails/enroll_email_enrolledsubject.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/unenroll_email_allowedmessage.txt
→
common/test/
test_microsites/test_microsite/templates/emails/unenroll_email_allowedmessage.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/unenroll_email_enrolledmessage.txt
→
common/test/
test_microsites/test_microsite/templates/emails/unenroll_email_enrolledmessage.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/emails/unenroll_email_subject.txt
→
common/test/
test_microsites/test_microsite/templates/emails/unenroll_email_subject.txt
View file @
636122c0
File moved
test_microsites/test_microsite/templates/footer.html
→
common/test/
test_microsites/test_microsite/templates/footer.html
View file @
636122c0
File moved
test_microsites/test_microsite/templates/login-sidebar.html
→
common/test/
test_microsites/test_microsite/templates/login-sidebar.html
View file @
636122c0
File moved
test_microsites/test_microsite/templates/register-sidebar.html
→
common/test/
test_microsites/test_microsite/templates/register-sidebar.html
View file @
636122c0
File moved
test_microsites/test_microsite/templates/static_templates/about.html
→
common/test/
test_microsites/test_microsite/templates/static_templates/about.html
View file @
636122c0
File moved
test_microsites/test_microsite/templates/static_templates/contact.html
→
common/test/
test_microsites/test_microsite/templates/static_templates/contact.html
View file @
636122c0
File moved
test_microsites/test_microsite/templates/static_templates/faq.html
→
common/test/
test_microsites/test_microsite/templates/static_templates/faq.html
View file @
636122c0
File moved
test_microsites/test_microsite/templates/static_templates/tos.html
→
common/test/
test_microsites/test_microsite/templates/static_templates/tos.html
View file @
636122c0
File moved
lms/djangoapps/courseware/tests/test_microsites.py
View file @
636122c0
...
...
@@ -45,7 +45,7 @@ class TestMicrosites(ModuleStoreTestCase, LoginEnrollmentTestCase):
self
.
course_outside_microsite
=
CourseFactory
.
create
(
display_name
=
'Robot_Course_Outside_Microsite'
,
org
=
'FooX'
)
def
create_
tes
t_accounts
(
self
):
def
create_
studen
t_accounts
(
self
):
"""
Build out the test accounts we'll use in these tests
"""
...
...
@@ -56,7 +56,7 @@ class TestMicrosites(ModuleStoreTestCase, LoginEnrollmentTestCase):
self
.
create_account
(
username
,
email
,
password
)
self
.
activate_user
(
email
)
@skip
# skipping - runs fine on localdev, not jenkins environment
def
test_microsite_anonymous_homepage_content
(
self
):
"""
Verify that the homepage, when accessed via a Microsite domain, returns
...
...
@@ -89,7 +89,7 @@ class TestMicrosites(ModuleStoreTestCase, LoginEnrollmentTestCase):
# assert that the edX partners tag line is not in the HTML
self
.
assertNotContains
(
resp
,
'Explore free courses from'
)
@skip
# skipping - runs fine on localdev, not jenkins environment
def
test_not_microsite_anonymous_homepage_content
(
self
):
"""
Make sure we see the right content on the homepage if we are not in a microsite
...
...
@@ -120,14 +120,14 @@ class TestMicrosites(ModuleStoreTestCase, LoginEnrollmentTestCase):
# assert that the edX partners tag line is not in the HTML
self
.
assertContains
(
resp
,
'Explore free courses from'
)
@skip
# skipping - runs fine on localdev, not jenkins environment
def
test_microsite_course_enrollment
(
self
):
"""
Enroll user in a course scoped in a Microsite and one course outside of a Microsite
and make sure that they are only visible in the right Dashboards
"""
self
.
create_
tes
t_accounts
()
self
.
create_
studen
t_accounts
()
email
,
password
=
self
.
STUDENT_INFO
[
0
]
self
.
login
(
email
,
password
)
...
...
lms/envs/test.py
View file @
636122c0
...
...
@@ -304,7 +304,7 @@ if len(MICROSITE_CONFIGURATION.keys()) > 0:
MICROSITE_CONFIGURATION
,
SUBDOMAIN_BRANDING
,
VIRTUAL_UNIVERSITIES
,
microsites_root
=
ENV_ROOT
/
'edx-platform'
/
'test_microsites'
microsites_root
=
COMMON_ROOT
/
"test"
/
'test_microsites'
)
######### LinkedIn ########
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment