-
-
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
Showing
19 changed files
with
6,899 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Empty file.
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,13 @@ | ||
from pathlib import Path | ||
|
||
from pytest_insta import Fmt | ||
|
||
|
||
class FmtNbs(Fmt[bytes]): | ||
extension = ".nbs" | ||
|
||
def load(self, path: Path) -> bytes: | ||
return path.read_bytes() | ||
|
||
def dump(self, path: Path, value: bytes): | ||
path.write_bytes(value) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
f.header.song_length = 287 | ||
f.header.description = 'This song is use for testing purposes' | ||
len(f.notes) = 76 | ||
len(f.layers) = 27 | ||
len(f.instruments) = 0 | ||
4: [41] | ||
6: [39] | ||
8: [44] | ||
11: [37] | ||
14: [41] | ||
17: [44, 41] | ||
26: [56] | ||
29: [35] | ||
32: [53] | ||
35: [44, 39] | ||
47: [33] | ||
53: [44, 37, 39] | ||
59: [40] | ||
65: [35, 42] | ||
71: [44, 39, 40] | ||
80: [39] | ||
83: [37] | ||
89: [44, 41, 41] | ||
101: [35] | ||
107: [44, 39] | ||
119: [33] | ||
125: [44, 37] | ||
137: [35] | ||
143: [44, 39] | ||
148: [41] | ||
150: [39] | ||
152: [44] | ||
155: [37] | ||
158: [41] | ||
161: [44, 41] | ||
170: [56] | ||
173: [35] | ||
176: [53] | ||
179: [44, 39] | ||
191: [33] | ||
197: [44, 37, 44] | ||
203: [46] | ||
209: [35, 47] | ||
215: [44, 39, 46] | ||
224: [42] | ||
227: [37] | ||
233: [44, 41, 44] | ||
245: [35] | ||
251: [44, 39] | ||
256: [51] | ||
258: [52] | ||
260: [56] | ||
263: [33] | ||
266: [49] | ||
269: [44, 37] | ||
281: [35] | ||
287: [44, 39] |
57 changes: 57 additions & 0 deletions
57
tests/snapshots/song__notes_compat_old_demo_song_nbs__0.txt
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,57 @@ | ||
f.header.song_length = 287 | ||
f.header.description = 'This song is use for testing purposes' | ||
len(f.notes) = 76 | ||
len(f.layers) = 23 | ||
len(f.instruments) = 0 | ||
4: [41] | ||
6: [39] | ||
8: [44] | ||
11: [37] | ||
14: [41] | ||
17: [44, 41] | ||
26: [56] | ||
29: [35] | ||
32: [53] | ||
35: [44, 39] | ||
47: [33] | ||
53: [44, 37, 39] | ||
59: [40] | ||
65: [35, 42] | ||
71: [44, 39, 40] | ||
80: [39] | ||
83: [37] | ||
89: [44, 41, 41] | ||
101: [35] | ||
107: [44, 39] | ||
119: [33] | ||
125: [44, 37] | ||
137: [35] | ||
143: [44, 39] | ||
148: [41] | ||
150: [39] | ||
152: [44] | ||
155: [37] | ||
158: [41] | ||
161: [44, 41] | ||
170: [56] | ||
173: [35] | ||
176: [53] | ||
179: [44, 39] | ||
191: [33] | ||
197: [44, 37, 44] | ||
203: [46] | ||
209: [35, 47] | ||
215: [44, 39, 46] | ||
224: [42] | ||
227: [37] | ||
233: [44, 41, 44] | ||
245: [35] | ||
251: [44, 39] | ||
256: [51] | ||
258: [52] | ||
260: [56] | ||
263: [33] | ||
266: [49] | ||
269: [44, 37] | ||
281: [35] | ||
287: [44, 39] |
Oops, something went wrong.