diff --git a/src/service/clmcservice/test_sr_mock_view.py b/src/service/clmcservice/test_sr_mock_view.py index 053066c4882a6007c20ea40b45e026dcff7e8c40..ddf51a9cc6f7a5348aed31466e5002a703dd8665 100644 --- a/src/service/clmcservice/test_sr_mock_view.py +++ b/src/service/clmcservice/test_sr_mock_view.py @@ -7,7 +7,7 @@ import os import signal -class TestSRMockAPI(object): +class TestSFEMCMockAPI(object): @pytest.fixture(autouse=True) def app_config(self): @@ -32,10 +32,10 @@ class TestSRMockAPI(object): print("Test get") # nested import so that importing the class view is part of the test itself - from clmcservice.views import SRMockConfig + from clmcservice.views import SFEMCMockConfig request = testing.DummyRequest() - response = SRMockConfig(request).get() + response = SFEMCMockConfig(request).get() print("response={0}".format(response)) diff --git a/src/service/clmcservice/views.py b/src/service/clmcservice/views.py index ddcdd2e8936aaeaeab95184a7d7260f8f95c58f5..84fae5b8404410c278117ffe99d767f253385ac9 100644 --- a/src/service/clmcservice/views.py +++ b/src/service/clmcservice/views.py @@ -307,8 +307,8 @@ class RoundTripTimeQuery(object): return forward_latency + forward_data_delay + service_delay + reverse_latency + reverse_data_delay -@view_defaults(route_name='sr_config', renderer='json') -class SRMockConfig(object): +@view_defaults(route_name='sfemc_config', renderer='json') +class SFEMCMockConfig(object): """ A class-based view for accessing and mutating the configuration of the aggregator. """