Skip to content

Commit

Permalink
tests: avoid intersphinx processing in legacy pages test
Browse files Browse the repository at this point in the history
When attempting to sanity check the handling of legacy pages (for
cleanup), the mocked publisher does not aim to support asset-related
content. Since intersphinx database can be published by default, the
logic an attempt to retrieve page information for the intersphinx
database to publish. To avoid this, explicitly disable intersphinx
processing for this test.

Signed-off-by: James Knight <[email protected]>
  • Loading branch information
jdknight committed Jan 30, 2025
1 parent 568064a commit 36740dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit-tests/test_legacy_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def test_legacy_pages(self):

config = dict(self.config)
config['confluence_publish'] = True
config['confluence_publish_intersphinx'] = False
config['confluence_server_url'] = 'https://example.com/'
config['confluence_space_key'] = 'TEST'
config['confluence_cleanup_purge'] = True
Expand Down

0 comments on commit 36740dd

Please sign in to comment.