Skip to content

Commit

Permalink
chore: changes for compatibility with latest openedx-learning
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Oct 26, 2023
1 parent 35eb8c6 commit ed2f64c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion openedx/core/djangoapps/content_tagging/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,12 @@ def test_get_content_tags(
assert valid_tags[0].id == object_tag.id

def test_get_tags(self):
assert api.get_tags(self.taxonomy_all_orgs) == [self.tag_all_orgs]
result = list(api.get_tags(self.taxonomy_all_orgs))
assert len(result) == 1
assert result[0]["value"] == self.tag_all_orgs.value
assert result[0]["_id"] == self.tag_all_orgs.id
assert result[0]["parent_value"] is None
assert result[0]["depth"] == 0

def test_cannot_tag_across_orgs(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ libsass==0.10.0
click==8.1.6

# pinning this version to avoid updates while the library is being developed
openedx-learning==0.2.6
openedx-learning==0.3.0

# lti-consumer-xblock 9.6.2 contains a breaking change that makes
# existing custom parameter configurations unusable.
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ openedx-filters==1.6.0
# via
# -r requirements/edx/kernel.in
# lti-consumer-xblock
openedx-learning==0.2.6
openedx-learning==0.3.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/kernel.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ openedx-filters==1.6.0
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# lti-consumer-xblock
openedx-learning==0.2.6
openedx-learning==0.3.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ openedx-filters==1.6.0
# via
# -r requirements/edx/base.txt
# lti-consumer-xblock
openedx-learning==0.2.6
openedx-learning==0.3.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ openedx-filters==1.6.0
# via
# -r requirements/edx/base.txt
# lti-consumer-xblock
openedx-learning==0.2.6
openedx-learning==0.3.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
Expand Down

0 comments on commit ed2f64c

Please sign in to comment.