Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Jun 25, 2023
1 parent 1494c12 commit 6986510
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pdm/pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def project(project_no_init: Project) -> Project:
hooks = HookManager(project_no_init, ["post_init"])
data = {
"project": {
"name": "test_project",
"name": "test-project",
"version": "0.0.0",
"description": "",
"authors": [],
Expand Down
2 changes: 1 addition & 1 deletion tests/cli/test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def test_list_json_fields_licences(project, pdm):
def test_list_markdown_fields_licences(project, pdm):
result = pdm(["list", "--markdown", "--fields", "name,version,licenses"], obj=project)
expected = (
"# test_project licenses\n"
"# test-project licenses\n"
"## foo\n\n"
"| Name | foo |\n"
"|----|----|\n"
Expand Down

0 comments on commit 6986510

Please sign in to comment.