Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
027e8b0d
Commit
027e8b0d
authored
Sep 25, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1d706b24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
go/neo/t/nxd/nxdtest
go/neo/t/nxd/nxdtest
+4
-1
No files found.
go/neo/t/nxd/nxdtest
View file @
027e8b0d
...
...
@@ -30,12 +30,15 @@ from erp5.util.taskdistribution import TaskDistributor
from
subprocess
import
Popen
,
PIPE
from
time
import
time
,
strftime
,
gmtime
import
os
,
sys
,
threading
,
argparse
,
logging
,
traceback
,
re
import
six
# loadNXDTestFile loads .nxdtest file located @path.
def
loadNXDTestFile
(
path
):
# -> TestEnv
t
=
TestEnv
()
g
=
{
'TestCase'
:
t
.
TestCase
}
# TODO + all other public TestEnv methods
six
.
exec_
(
code
,
g
)
with
open
(
path
,
"r"
)
as
f
:
src
=
f
.
read
()
six
.
exec_
(
src
,
g
)
return
t
# TestCase defines one test case to run.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment