Skip to content
Snippets Groups Projects
Commit 3a1b2c4a authored by Mathieu Courtois's avatar Mathieu Courtois
Browse files

[#33711] fix unittest on docs

parent 947bd7c4
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,8 @@ from api_doc import changelog_doc ...@@ -13,8 +13,8 @@ from api_doc import changelog_doc
def test_changelog_from_docaster(): def test_changelog_from_docaster():
# this document should not be modified (intranet) # this document should not be modified (intranet)
descr = changelog_doc("A0.03.28") descr = changelog_doc("A0.03.28")
assert_that(descr, has_length(1)) assert_that(len(descr), greater_than_or_equal_to(1))
assert_that("add documents from export" in descr[0]) assert_that("add documents from export" in descr[-1])
descr = changelog_doc("r5.03.01") descr = changelog_doc("r5.03.01")
assert_that(len(descr), greater_than_or_equal_to(5)) assert_that(len(descr), greater_than_or_equal_to(5))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment