mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Build analyze backend
This commit is contained in:
1 parent
72a52d3291
commit
36a6df4d3b
10 files changed
+418
-49
No files matched your search
@@ -237,6 +237,8 @@ target.parent.mkdir(parents=True, exist_ok=True)
|
||||
shutil.copyfile(ONE, target)
|
||||
[pending] = a.add_tracks([NewTrack(track=Track(id="x", title="Kick"), audio_path=target)])
|
||||
check("an unsaved add plays from its incoming copy", a.track(pending).filepath == str(target))
|
||||
check("a file with no key of its own arrives with one detected", a.track(pending).key_wheel is not None,
|
||||
str(a.track(pending).key))
|
||||
a.reload()
|
||||
check("Discard deletes the copy and leaves the stick as it was",
|
||||
not target.exists() and fingerprint(drive) == before and a.track(pending) is None)
|
||||
|
||||
Reference in new issue
Block a user