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

Add a basic integration test #160

Merged
merged 1 commit into from
May 6, 2024

Conversation

AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented May 6, 2024

This should catch obvious errors of the form of #155.

A

@AA-Turner AA-Turner requested a review from pradyunsg May 6, 2024 14:00
@AA-Turner AA-Turner merged commit 674264e into sphinx-doc:main May 6, 2024
5 checks passed
@AA-Turner AA-Turner deleted the integration-test branch May 6, 2024 14:28
Comment on lines -26 to +30
def main():
def main(argv=()):
"""Actual application logic."""
colorama.init()

args, build_args = _parse_args(sys.argv[1:])
args, build_args = _parse_args(list(argv))
Copy link
Contributor

@return42 return42 May 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch breaks the installed scripts .. you can reproduce it by:

$ cd /tmp/
$ python -m venv myenv
...
$ . myenv/bin/activate
(myenv) $ pip install 'git+https://github.com/sphinx-doc/sphinx-autobuild'
...
(myenv) $ sphinx-autobuild 
usage: sphinx-autobuild [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-autobuild: error: the following arguments are required: SOURCE_DIR, OUTPUT_DIR, filenames

Related: #162

return42 added a commit to return42/sphinx-autobuild that referenced this pull request May 30, 2024
…rgv[1:]`

To reproduce the issue read comment [1].

[1] https://github.com/sphinx-doc/sphinx-autobuild/pull/160/files#r1620387971

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
return42 added a commit to return42/sphinx-autobuild that referenced this pull request May 30, 2024
…rgv[1:]`

To reproduce the issue read comment [1].

[1] https://github.com/sphinx-doc/sphinx-autobuild/pull/160/files#r1620387971

Closes: sphinx-doc#162
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants