Skip to content

Commit 78c9715

Browse files
fix: remove redundant tests comments
1 parent d2ba55f commit 78c9715

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

tests/openedx_learning/applets/cbe/test_views.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ def test_base_taxonomy_view_competency_type_creates_no_competency_row() -> None:
122122
"""
123123
Posting taxonomy_type="competency" through the base TaxonomyView creates a
124124
plain Taxonomy and no CompetencyTaxonomy row.
125-
126-
tests/openedx_tagging/test_views.py can't check this directly: it would have
127-
to import CompetencyTaxonomy, breaking the layering rule it's demonstrating.
128125
"""
129126
request = APIRequestFactory().post(
130127
"/fake-taxonomies/",

tests/openedx_tagging/test_views.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,6 @@ def test_create_taxonomy_type_tags_or_omitted(self, taxonomy_type, expected_stat
406406
"""
407407
Posting any accepted taxonomy_type (or omitting it) to this raw TaxonomyView
408408
succeeds and creates a Taxonomy row.
409-
410-
Doesn't check whether a CompetencyTaxonomy row also gets created for
411-
"competency". See tests/openedx_learning/applets/cbe/test_views.py for
412-
that assertion.
413409
"""
414410
url = TAXONOMY_LIST_URL
415411
create_data = {"name": "Taxonomy Type Test", "export_id": "taxonomy-type-test"}

0 commit comments

Comments
 (0)