Skip to content

Instantly share code, notes, and snippets.

@muhammad-ammar
Created October 14, 2014 12:41
Show Gist options
  • Save muhammad-ammar/e9f8b9805c2ab975187f to your computer and use it in GitHub Desktop.
Save muhammad-ammar/e9f8b9805c2ab975187f to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_page (acceptance_tests.test_course_engagement.CourseEngagementTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/test_course_engagement.py", line 28, in test_page
super(CourseEngagementTests, self).test_page()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 207, in test_page
self.login()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 101, in login
self.login_with_lms()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 112, in login_with_lms
self.lms_login_page.login(LMS_USERNAME, LMS_PASSWORD)
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 63, in wrapper
self._verify_page()
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 310, in _verify_page
raise WrongPageError(msg)
WrongPageError: Not on the correct page to use '<acceptance_tests.pages.LMSLoginPage object at 0x19ea950>' at URL 'https://lms/login'
-------------------- >> begin captured logging << --------------------
bok_choy.browser: INFO: Using local browser: firefox [Default is firefox]
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_page (acceptance_tests.test_course_enrollment.CourseEnrollmentActivityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/test_course_enrollment.py", line 28, in test_page
super(CourseEnrollmentActivityTests, self).test_page()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 207, in test_page
self.login()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 101, in login
self.login_with_lms()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 112, in login_with_lms
self.lms_login_page.login(LMS_USERNAME, LMS_PASSWORD)
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 63, in wrapper
self._verify_page()
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 310, in _verify_page
raise WrongPageError(msg)
WrongPageError: Not on the correct page to use '<acceptance_tests.pages.LMSLoginPage object at 0x19ef950>' at URL 'https://lms/login'
-------------------- >> begin captured logging << --------------------
bok_choy.browser: INFO: Using local browser: firefox [Default is firefox]
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_page (acceptance_tests.test_course_index.CourseIndexTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/test_course_index.py", line 15, in test_page
self.login()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 101, in login
self.login_with_lms()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 112, in login_with_lms
self.lms_login_page.login(LMS_USERNAME, LMS_PASSWORD)
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 63, in wrapper
self._verify_page()
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 310, in _verify_page
raise WrongPageError(msg)
WrongPageError: Not on the correct page to use '<acceptance_tests.pages.LMSLoginPage object at 0x1b10610>' at URL 'https://lms/login'
-------------------- >> begin captured logging << --------------------
bok_choy.browser: INFO: Using local browser: firefox [Default is firefox]
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_page (acceptance_tests.test_course_enrollment.CourseEnrollmentGeographyTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/test_course_enrollment.py", line 96, in test_page
super(CourseEnrollmentGeographyTests, self).test_page()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 207, in test_page
self.login()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 101, in login
self.login_with_lms()
File "/home/ammar/edx/edx-analytics-dashboard/acceptance_tests/mixins.py", line 112, in login_with_lms
self.lms_login_page.login(LMS_USERNAME, LMS_PASSWORD)
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 63, in wrapper
self._verify_page()
File "/home/ammar/.virtualenvs/dashboard/local/lib/python2.7/site-packages/bok_choy/page_object.py", line 310, in _verify_page
raise WrongPageError(msg)
WrongPageError: Not on the correct page to use '<acceptance_tests.pages.LMSLoginPage object at 0x1abb390>' at URL 'https://lms/login'
-------------------- >> begin captured logging << --------------------
bok_choy.browser: INFO: Using local browser: firefox [Default is firefox]
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "GET /api/v0/courses/edX/DemoX/Demo_Course/enrollment/location/ HTTP/1.1" 200 None
--------------------- >> end captured logging << ---------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment