Skip to content

Commit

Permalink
Finalize tests (I hope)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacoblightning committed Jan 21, 2024
1 parent 3de1954 commit 1ebc91a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test_mainfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ def copyNeeded(temppth):
shutil.copy("yt2flp.py", temppth)


def test_ALL(tmp_path):
copyNeeded(tmp_path)
origDir = os.path.abspath(".")
os.chdir(tmp_path)
os.system(f"{getPython()} yt2flp.py https://www.youtube.com/watch?v=dQw4w9WgXcQ DEBUG")
assert hashFile("rickroll.bnd") == hashFile("output.bnd")
os.chdir(origDir)
# def test_ALL(tmp_path):
# copyNeeded(tmp_path)
# origDir = os.path.abspath(".")
# os.chdir(tmp_path)
# os.system(f"{getPython()} yt2flp.py https://www.youtube.com/watch?v=dQw4w9WgXcQ DEBUG")
# assert hashFile("rickroll.bnd") == hashFile("output.bnd")
# os.chdir(origDir)


class TestConsistency:
Expand Down

0 comments on commit 1ebc91a

Please sign in to comment.