Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that filtering the xAPI DB keeps working for CP-41819 (Python3 Migration) #14

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

bernhardkaindl
Copy link
Collaborator

@bernhardkaindl bernhardkaindl commented Oct 18, 2023

Add a Unit Test for the code filtering the private information from the xAPI DB.

It is a first quick step to ensure that the code filtering the xAPI DB works as expected,
and may be followed up with an integration test ensuring the proper integration of this code.

The GitHub CI workflow needed a few smaller fixes to work again:

  • The if: ${{ matrix.python-version == 2.7 }} needs to be replaced because GitHub no longer has Python 2.7 in its Python matrix.
  • Instead use `https://bootstrap.pypa.io/pip/2.7/get-pip.py for pip2 and use it to install packages
  • pylint didn't actually run, and its configuration is also in need of a small update to pass again on the current code.

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
@bernhardkaindl bernhardkaindl requested review from rosslagerwall, lindig and psafont and removed request for lindig October 19, 2023 17:19
@bernhardkaindl bernhardkaindl merged commit b9c661f into master Oct 20, 2023
4 checks passed
@bernhardkaindl bernhardkaindl deleted the replace-defusedxml-with-xml.minidom branch October 20, 2023 11:49
@bernhardkaindl bernhardkaindl changed the title tests/unit/test_xapidb_filter.py: Unit test for filtering the xAPI DB Ensure that filtering the xAPI DB keeps working for CP-41819 (Python3 Migration) Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants