From 19d97196c5f274fed86749cd206e5f00a177955a Mon Sep 17 00:00:00 2001 From: arigdon-usgs <arigdon@usgs.gov> Date: Fri, 27 Jul 2018 09:08:30 -0600 Subject: [PATCH] Fixed redefining built in type --- test/edge_test/EdgeFactory_test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/edge_test/EdgeFactory_test.py b/test/edge_test/EdgeFactory_test.py index c92551eee..d99052305 100644 --- a/test/edge_test/EdgeFactory_test.py +++ b/test/edge_test/EdgeFactory_test.py @@ -126,7 +126,6 @@ def test_create_missing_channel(): trace1 = _create_trace([1, 1, 1, 1, 1], 'H', UTCDateTime("2018-01-01")) trace2 = _create_trace([2, 2], 'E', UTCDateTime("2018-01-01")) observatory = 'Test' - type = 'variation' interval = 'minute' network = 'NT' location = 'R0' @@ -135,7 +134,7 @@ def test_create_missing_channel(): endtime=trace1.stats.endtime, observatory=observatory, channel='F', - type=type, + type='variation', interval=interval, network=network, station=trace1.stats.station, @@ -144,7 +143,7 @@ def test_create_missing_channel(): # For continuity set stats to be same for all traces for trace in timeseries: trace.stats.observatory = observatory - trace.stats.type = type + trace.stats.type = 'variation' trace.stats.interval = interval trace.stats.network = network trace.stats.station = trace1.stats.station -- GitLab