Skip to content

Commit

Permalink
Test checking for relative path to README
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Mar 11, 2021
1 parent 97e9918 commit c5134d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flit_core/flit_core/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 132,7 @@ def test_bad_pep621_info(proj_bad, err_match):
@pytest.mark.parametrize(('readme', 'err_match'), [
({'file': 'README.rst'}, 'required'),
({'file': 'README.rst', 'content-type': 'text/x-python'}, 'content-type'),
('/opt/README.rst', 'relative'),
({'file': 'README.rst', 'text': '', 'content-type': 'text/x-rst'}, 'both'),
({'content-type': 'text/x-rst'}, 'required'),
(5, r'readme.*string'),
Expand Down

0 comments on commit c5134d6

Please sign in to comment.