Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_python
Commits
a93bf070
Commit
a93bf070
authored
2 years ago
by
nugget
Browse files
Options
Downloads
Patches
Plain Diff
Fix last linting errors.
parent
49855487
No related branches found
No related tags found
3 merge requests
!12
v.0.1 for alpha release
,
!7
Bring packaging branch up to date
,
!6
Implement basic functionality of publish.
Pipeline
#717668
passed with warnings
2 years ago
Stage: linting
Stage: testing
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_publish.py
+1
-1
1 addition, 1 deletion
tests/test_publish.py
tests/test_save_plot.py
+1
-0
1 addition, 0 deletions
tests/test_save_plot.py
with
2 additions
and
1 deletion
tests/test_publish.py
+
1
−
1
View file @
a93bf070
...
...
@@ -14,7 +14,7 @@ from unittest.mock import patch
from
publish
import
publish
SRC_DIR
=
'
test_src_folder
'
IMG_DATA
=
b
'
iVBORw0KGgoAAAANSUhEUgAAAUAAAAFAAgMAAACw/k05AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAAxQTFRFAAAAHBwcVFRU////6irJIAAAAIVJREFUeNrt3TERACAQBLHTgQlMU6GQDkz8MF9kBcTCJmrY2IWtJPMWdoBAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAv+A5RMHtesBZRvjTSF8ofkAAAAASUVORK5CYII=
'
# noqa: E501
IMG_DATA
=
b
'
iVBORw0KGgoAAAANSUhEUgAAAUAAAAFAAgMAAACw/k05AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAAxQTFRFAAAAHBwcVFRU////6irJIAAAAIVJREFUeNrt3TERACAQBLHTgQlMU6GQDkz8MF9kBcTCJmrY2IWtJPMWdoBAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAv+A5RMHtesBZRvjTSF8ofkAAAAASUVORK5CYII=
'
# noqa: E501
PIC_NAME
=
'
test_picture
'
DST_DIR
=
'
test_dst_folder
'
DST_PARENT_DIR
=
'
test_parent
'
...
...
This diff is collapsed.
Click to expand it.
tests/test_save_plot.py
+
1
−
0
View file @
a93bf070
...
...
@@ -12,6 +12,7 @@ from save_plot import save_plot
figure
=
plt
.
figure
()
plot_name
=
'
PLOT_NAME
'
class
TestSave_Plot
(
unittest
.
TestCase
):
def
test_save_plot
(
self
):
...
...
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