Skip to content

Commit

Permalink
ensure cheat sheet only runs on linu
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjwilson committed Feb 9, 2024
1 parent a46b6e3 commit 0936fb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_cheat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

import importlib
import nctoolkit as nc
import platform



class TestFinal:
def test_cheat(self):

# only run this test on linux
if os.name == "posix":
if platform.system() == "Linux"
import textract
assert len(nc.session_files()) == 0
assert len(nc.session.get_safe()) == 0
Expand Down

0 comments on commit 0936fb4

Please sign in to comment.