Skip to content

Commit

Permalink
Allowed to run tests without installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
KOLANICH committed Jan 2, 2022
1 parent f576ac0 commit 5a1623f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
__author__ = 'kristian'

import sys
import unittest
from pathlib import Path

sys.path.insert(0, str(Path(__file__).parent.parent))

import jscodegen


Expand Down
7 changes: 6 additions & 1 deletion tests/test_completeness.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import sys
import unittest as unittest
from jscodegen.syntax import Syntax
from pathlib import Path

sys.path.insert(0, str(Path(__file__).parent.parent))

from jscodegen import CodeGenerator
from jscodegen.syntax import Syntax


def add_cases(generator):
Expand Down

0 comments on commit 5a1623f

Please sign in to comment.