-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a1b2e2
commit 4b69d34
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"""Test the examples from the README.rst file.""" | ||
|
||
from __future__ import annotations | ||
|
||
from tests.helper import Cli | ||
|
||
|
||
def test_din_a4_compress_rename() -> None: | ||
score = ( | ||
Cli( | ||
"--save-in-mscore", | ||
"--a4", | ||
"--rename", | ||
"_Piano_A4", | ||
"--only-filename", | ||
) | ||
.append_score("Im-Fruehtau-zu-Berge.mscz") | ||
.score() | ||
) | ||
|
||
dest = score.path.parent / "_Piano_A4.mscz" | ||
|
||
assert dest.exists() |