getting error while running lms unit test case on Eucalyptus version

21 views
Skip to first unread message

Nilesh Singh

unread,
Dec 28, 2016, 4:47:05 AM12/28/16
to General Open edX discussion, Avinash Awate
Hi,

 I am trying to run  lms unit test case on Eucalyptus version, i am getting :

            Creating test database for alias 'default'...
            Installed 2 object(s) from 1 fixture(s)
           Creating test database for alias 'student_module_history'...

i need to know where test database created.





regards
Nilesh Singh

Ben Patterson

unread,
Dec 28, 2016, 8:01:55 AM12/28/16
to edx-...@googlegroups.com, Avinash Awate
Avinash - 

I'm also pasting the error you shared with me further below in case anyone in the group can advise...

For the database question, I don't know the full answer but I know the clues, at least. It's the Courseware Student History Module, and there are various definitions for it (also described as "CSMH") in the environment files (e.g., the lms common.py or the lms test.py which is used for unit tests). Is that database involved with the errors you are describing? That I do not know. Perhaps someone else on the list has advice on that...

Ben

I also getting error after running :
 
        paver test_system -s lms
   and the error is: 

         ======================================================================
FAIL: test_rescoring_randomized_problem (lms.djangoapps.instructor_task.tests.test_integration.TestRescoringTask)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/edx/app/edxapp/edx-platform/lms/djangoapps/instructor_task/tests/test_integration.py", line 309, in test_rescoring_randomized_problem
    self.check_state(username, descriptor, 0, 1, 1)
  File "/edx/app/edxapp/edx-platform/lms/djangoapps/instructor_task/tests/test_integration.py", line 115, in check_state
    self.assertEqual(module.grade, expected_score)
AssertionError: None != 0

how to solve or show this test case manually on edxplateform 
please reply

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/68231212-854f-4b70-8e9b-a451b06cab3b%40googlegroups.com.



--
Ben Patterson

edX | Engineering Manager  | b...@edx.org

141 Portland Street, 9th floor

Cambridge, MA 02139

http://www.edx.org

http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566
Reply all
Reply to author
Forward
0 new messages