Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
ghsc
National Geomagnetism Program
geomag-algorithms
Commits
70fd0df1
Commit
70fd0df1
authored
10 years ago
by
Hal Simpson
Browse files
Options
Downloads
Patches
Plain Diff
removed unneeded functions.
parent
710685ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geomagio/edge/EdgeFactory_test.py
+0
-19
0 additions, 19 deletions
geomagio/edge/EdgeFactory_test.py
with
0 additions
and
19 deletions
geomagio/edge/EdgeFactory_test.py
+
0
−
19
View file @
70fd0df1
...
...
@@ -7,16 +7,6 @@ from EdgeFactory import EdgeFactory
from
nose.tools
import
assert_equals
def
test_get_type_from_edge
():
"""
geomagio.edge.EdgeFactory_test.test_get_type_from_edge()
"""
# Call get_type_from_edge, make certain it returns the type
assert_equals
(
EdgeFactory
().
get_type_from_edge
(
'
R0
'
),
'
variation
'
)
assert_equals
(
EdgeFactory
().
get_type_from_edge
(
'
R1
'
),
'
variation
'
)
assert_equals
(
EdgeFactory
().
get_type_from_edge
(
'
Q0
'
),
'
quasi-definitive
'
)
assert_equals
(
EdgeFactory
().
get_type_from_edge
(
'
D0
'
),
'
definitive
'
)
def
test__get_edge_network
():
"""
geomagio.edge.EdgeFactory_test.test__get_edge_network()
"""
...
...
@@ -61,15 +51,6 @@ def test__get_edge_location():
''
,
''
,
'
definitive
'
,
''
),
'
D0
'
)
def
test__get_interval_from_code
():
"""
geomagio.edge.EdgeFactory_test.test__get_interval_from_code()
"""
# Call _get_interval_from_code with an edge interval code. Make certain
# it returns the appropriate interval.
assert_equals
(
EdgeFactory
().
_get_interval_from_code
(
'
M
'
),
'
minute
'
)
assert_equals
(
EdgeFactory
().
_get_interval_from_code
(
'
S
'
),
'
second
'
)
def
test__get_interval_code
():
"""
geomagio.edge.EdgeFactory_test.test__get_interval_code()
"""
...
...
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