Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
4ae1cd26
Commit
4ae1cd26
authored
Jan 28, 2021
by
Alfonso Orta
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'staging'
Develop See merge request
!26
parents
f96b335c
e58e2506
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
testing.py
bin/testing.py
+4
-4
No files found.
bin/testing.py
View file @
4ae1cd26
...
@@ -76,7 +76,7 @@ except:
...
@@ -76,7 +76,7 @@ except:
os
.
chdir
(
REPORTS
)
os
.
chdir
(
REPORTS
)
target
=
REPORTS
target
=
REPORTS
target
=
str
(
target
)
+
f
'
\\
.coverage'
target
=
os
.
path
.
normpath
(
str
(
target
)
+
f
'/.coverage'
)
try
:
try
:
os
.
remove
(
target
)
#Try to Remove old coverage file, if exists
os
.
remove
(
target
)
#Try to Remove old coverage file, if exists
except
Exception
as
e
:
except
Exception
as
e
:
...
@@ -86,10 +86,10 @@ print("Combinging coverages")
...
@@ -86,10 +86,10 @@ print("Combinging coverages")
counter
=
0
counter
=
0
for
path
in
coverage_paths_set
:
for
path
in
coverage_paths_set
:
try
:
try
:
path
+=
'
\\
.coverage'
path
+=
'
/
.coverage'
original
=
path
original
=
os
.
path
.
normpath
(
path
)
target
=
REPORTS
target
=
REPORTS
target
=
str
(
target
)
+
f
'
\\
.coverage.{counter}'
target
=
os
.
path
.
normpath
(
str
(
target
)
+
f
'/.coverage.{counter}'
)
counter
+=
1
counter
+=
1
shutil
.
copyfile
(
original
,
target
)
#copy new generated coverage files
shutil
.
copyfile
(
original
,
target
)
#copy new generated coverage files
...
...
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