Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
gridtk
Commits
7f34cb98
Commit
7f34cb98
authored
Dec 22, 2016
by
Amir MOHAMMADI
Browse files
Merge branch 'fixes' into 'master'
Fixes * Closes issue
#14
* Untag version v1.4.2 See merge request
!3
parents
8a755cc0
00c6750f
Pipeline
#6012
passed with stages
in 2 minutes and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gridtk/tests/__init__.py
View file @
7f34cb98
...
...
@@ -165,7 +165,7 @@ class GridTKTest(unittest.TestCase):
self
.
assertTrue
(
os
.
path
.
isfile
(
out_file
))
self
.
assertTrue
(
os
.
path
.
isfile
(
err_file
))
self
.
assertEqual
(
open
(
out_file
).
read
().
rstrip
(),
'This is a text message to std-out'
)
self
.
assert
Equal
(
open
(
err_file
).
read
().
split
(
'
\n
'
)[
0
],
'This is a text message to std-err'
)
self
.
assert
True
(
'This is a text message to std-err'
in
open
(
err_file
).
read
().
split
(
'
\n
'
)
)
# resubmit all jobs
jman
.
main
([
'./bin/jman'
,
'--local'
,
'--database'
,
self
.
database
,
'resubmit'
,
'--running-jobs'
])
...
...
@@ -185,7 +185,7 @@ class GridTKTest(unittest.TestCase):
self
.
assertTrue
(
os
.
path
.
isfile
(
out_file
))
self
.
assertTrue
(
os
.
path
.
isfile
(
err_file
))
self
.
assertEqual
(
open
(
out_file
).
read
().
rstrip
(),
'This is a text message to std-out'
)
self
.
assert
Equal
(
open
(
err_file
).
read
().
split
(
'
\n
'
)[
1
],
'This is a text message to std-err'
)
self
.
assert
True
(
'This is a text message to std-err'
in
open
(
err_file
).
read
().
split
(
'
\n
'
)
)
# check that exactly four output and four error files have been created
files
=
os
.
listdir
(
self
.
log_dir
)
...
...
version.txt
View file @
7f34cb98
1.4.3b0
\ No newline at end of file
1.4.2b0
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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