Skip to content

SGA integration tests running via pytest #240

@amir-qayyum-khan

Description

@amir-qayyum-khan

Feedback from @jmbowman:

@amir-qayyum-khan I just got the tests to run via pytest --pyargs edx_sga.tests.integration_tests, although 9 out of 48 failed because the "test_data" directory wasn't available (it isn't installed with edx_sga); it looks like that was just added 3 months ago, so those are probably new failures. You can run individual classes or test cases like:
pytest --pyargs edx_sga.tests.integration_tests::StaffGradedAssignmentXblockTests::test_replace_url_1_True
(ddt data parameters are added to the method name like this, if present).

https://github.com/edx/edx-platform/pull/17850#issuecomment-378295303
cc @pdpinch

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions