Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서승완
/
kappa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Mitch Garnaat
2015-12-10 16:43:32 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
def2e686abaff9cb8b0ca606a493903eabb2ae83
def2e686
1 parent
7c8b5cf3
use source_dir of Context object to find source code.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
kappa/context.py
kappa/context.py
View file @
def2e68
...
...
@@ -198,7 +198,7 @@ class Context(object):
# run any unit tests
unit_test_path
=
os
.
path
.
join
(
self
.
test_dir
,
'unit'
)
if
os
.
path
.
exists
(
unit_test_path
):
os
.
chdir
(
self
.
function
.
path
)
os
.
chdir
(
self
.
source_dir
)
print
(
'running unit tests'
)
pipe
=
os
.
popen
(
self
.
unit_test_runner
,
'r'
)
print
(
pipe
.
read
())
...
...
Please
register
or
login
to post a comment