Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lde-api-regression-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simcaq
lde-api-regression-test
Commits
c3bd14a4
Commit
c3bd14a4
authored
5 years ago
by
Hamer Iboshi
Browse files
Options
Downloads
Patches
Plain Diff
Update method compare
parent
000387d5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
manage.py
+2
-2
2 additions, 2 deletions
manage.py
regression_test.py
+1
-1
1 addition, 1 deletion
regression_test.py
with
3 additions
and
3 deletions
manage.py
+
2
−
2
View file @
c3bd14a4
...
@@ -31,10 +31,10 @@ def save(route=''):
...
@@ -31,10 +31,10 @@ def save(route=''):
rt
.
save
()
rt
.
save
()
@manager.command
@manager.command
def
compar
ison
(
route
=
''
):
def
compar
e
(
route
=
''
):
'''
Compare multiple or one CSV route
'''
'''
Compare multiple or one CSV route
'''
rt
=
RegressionTest
(
route
)
rt
=
RegressionTest
(
route
)
rt
.
compar
ison
()
rt
.
compar
e
()
if
__name__
==
"
__main__
"
:
if
__name__
==
"
__main__
"
:
...
...
This diff is collapsed.
Click to expand it.
regression_test.py
+
1
−
1
View file @
c3bd14a4
...
@@ -49,7 +49,7 @@ class RegressionTest:
...
@@ -49,7 +49,7 @@ class RegressionTest:
except
Exception
as
ex
:
except
Exception
as
ex
:
cprint
(
str
(
ex
)
+
"
Not saved, a problem ocurred at
"
+
name
+
"
"
+
url
,
'
red
'
)
cprint
(
str
(
ex
)
+
"
Not saved, a problem ocurred at
"
+
name
+
"
"
+
url
,
'
red
'
)
def
compar
ison
(
self
):
def
compar
e
(
self
):
fail
=
0
fail
=
0
for
route
in
self
.
route_list
:
for
route
in
self
.
route_list
:
name
=
route
[
0
]
name
=
route
[
0
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment