From 5a24e2ba7eee80c0b82afd8af1fbf3774eb563bb Mon Sep 17 00:00:00 2001
From: pcain <pcain@usgs.gov>
Date: Wed, 8 Sep 2021 16:27:19 +0000
Subject: [PATCH] remove conftest.py

---
 test/edge_test/conftest.py | 44 --------------------------------------
 1 file changed, 44 deletions(-)
 delete mode 100644 test/edge_test/conftest.py

diff --git a/test/edge_test/conftest.py b/test/edge_test/conftest.py
deleted file mode 100644
index b391a4a3a..000000000
--- a/test/edge_test/conftest.py
+++ /dev/null
@@ -1,44 +0,0 @@
-import numpy
-from obspy import Stream, UTCDateTime
-from obspy.clients.neic.client import Client
-import pytest
-
-from geomagio import TimeseriesUtility
-from geomagio.edge import SNCL
-
-
-@pytest.fixture(scope="class")
-def MockMiniSeedClient() -> Client:
-    """replaces default obspy miniseed client's get_waveforms method to return trace of ones"""
-
-    class MockMiniSeedClient(Client):
-        def get_waveforms(
-            self,
-            network: str,
-            station: str,
-            location: str,
-            channel: str,
-            starttime: UTCDateTime,
-            endtime: UTCDateTime,
-        ):
-            sncl = SNCL(
-                station=station,
-                network=network,
-                channel=channel,
-                location=location,
-            )
-            trace = TimeseriesUtility.create_empty_trace(
-                starttime=starttime,
-                endtime=endtime,
-                observatory=station,
-                channel=channel,
-                type=sncl.data_type,
-                interval=sncl.interval,
-                network=network,
-                station=station,
-                location=location,
-            )
-            trace.data = numpy.ones(trace.stats.npts)
-            return Stream([trace])
-
-    yield MockMiniSeedClient
-- 
GitLab