Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbuwen committed Aug 17, 2023
1 parent 3f1f725 commit f7d32b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions skillbridge/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@

def print_skill_script_location() -> None:
skill_source = here / 'server' / 'python_server.il'
escaped = repr(skill_source)[1:-1]

print("Path to Skill server script:")
print(escaped)
print(skill_source)

print()

print("Type this into the Skill console:")
print(f'load("{escaped}")')
print(f'load("{skill_source}")')


def deprecated_command() -> None: # pragma: no cover
Expand Down
2 changes: 1 addition & 1 deletion tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_workspace_get_item():


def test_reports_skill_server_correctly():
out = check_output('python -m skillbridge path'.split())
out = check_output('python -m skillbridge path'.split(), encoding='utf-8')
assert Path(out.splitlines()[1].strip()).exists()


Expand Down

0 comments on commit f7d32b0

Please sign in to comment.