Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SOHViewer
Manage
Activity
Members
Labels
Plan
Issues
11
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
3
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
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
PASSOFT
SOHViewer
Commits
1d57aeea
Commit
1d57aeea
authored
2 years ago
by
Kien Le
Browse files
Options
Downloads
Patches
Plain Diff
Add test stub for trim_downsample_WFChan
parent
6f9391c6
No related branches found
Branches containing commit
No related tags found
1 merge request
!27
Draft: Add tests for functions in handling_data.py
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_model/test_handling_data.py
+9
-0
9 additions, 0 deletions
tests/test_model/test_handling_data.py
with
9 additions
and
0 deletions
tests/test_model/test_handling_data.py
+
9
−
0
View file @
1d57aeea
...
@@ -37,6 +37,7 @@ from sohstationviewer.model.handling_data import (
...
@@ -37,6 +37,7 @@ from sohstationviewer.model.handling_data import (
trim_downsample_SOHChan
trim_downsample_SOHChan
)
)
from
sohstationviewer.model.reftek.from_rt2ms.core
import
Reftek130
from
sohstationviewer.model.reftek.from_rt2ms.core
import
Reftek130
from
sohstationviewer.conf
import
constants
as
consts
TEST_DATA_DIR
=
Path
(
__file__
).
parent
.
parent
.
joinpath
(
'
test_data
'
)
TEST_DATA_DIR
=
Path
(
__file__
).
parent
.
parent
.
joinpath
(
'
test_data
'
)
...
@@ -971,3 +972,11 @@ class TestTrimDownsampleSohChan(TestCase):
...
@@ -971,3 +972,11 @@ class TestTrimDownsampleSohChan(TestCase):
def
test_reftek
(
self
):
def
test_reftek
(
self
):
self
.
fail
()
self
.
fail
()
class
TestTrimDownsampleWfChan
(
TestCase
):
def
setUp
(
self
)
->
None
:
pass
@expectedFailure
def
test
(
self
):
raise
NotImplementedError
(
type
(
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