Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha - Testing
Commits
42ced838
Commit
42ced838
authored
May 26, 2011
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tps: remove remaining Exception.message references
These were overlooked and should not remain there
parent
ea018ecb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tps.py
tps.py
+5
-5
No files found.
tps.py
View file @
42ced838
...
...
@@ -176,8 +176,8 @@ class Suite(object):
log
.
write
(
'running test {0} = {1}
\n
'
.
format
(
shortname
,
test
))
run_test
(
testname
,
logname
)
except
TpsCritical
,
e
:
print
'test [
%
s]: critical error, aborting: [
%
s]'
%
(
shortname
,
e
.
message
)
log
.
write
(
' critical error in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
.
message
))
print
'test [
%
s]: critical error, aborting: [
%
s]'
%
(
shortname
,
e
)
log
.
write
(
' critical error in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
))
log
.
write
(
' cannot continue, aborting test suite'
)
failures
.
append
((
shortname
,
e
,
))
break
...
...
@@ -201,8 +201,8 @@ class Suite(object):
log
.
write
(
' user intervention: continue
\n
'
)
continue
except
TpsWarning
,
e
:
print
'test [
%
s]: warning: [
%
s]'
%
(
shortname
,
e
.
message
)
log
.
write
(
' warning in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
.
message
))
print
'test [
%
s]: warning: [
%
s]'
%
(
shortname
,
e
)
log
.
write
(
' warning in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
))
failures
.
append
((
shortname
,
e
,
))
else
:
log
.
write
(
' OK
\n
'
)
...
...
@@ -371,7 +371,7 @@ def main():
try
:
s
.
validate_and_compute_run
()
except
TpsInvalid
,
e
:
print
'bad parameters:'
,
e
.
message
print
'bad parameters:'
,
e
return
# decide what to do
...
...
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