def test_channel_channel_id(self): with self.settings(RESTCLIENTS_NWS_DAO_CLASS= 'restclients.dao_implementation.nws.File'): nws = NWS() channel = nws.get_channel_by_channel_id( "b779df7b-d6f6-4afb-8165-8dbe6232119f") self._assert_channel(channel)
def _channel_channel_id_live(self): with self.settings(RESTCLIENTS_NWS_DAO_CLASS= 'restclients.dao_implementation.nws.Live'): nws = NWS() channel = nws.get_channel_by_channel_id( "ce1d46fe-1cdf-4c5a-a316-20f6c99789b7") self.assertTrue(channel is not None)
def test_channel_channel_id(self): with self.settings( RESTCLIENTS_NWS_DAO_CLASS='restclients.dao_implementation.nws.File'): nws = NWS() channel = nws.get_channel_by_channel_id("b779df7b-d6f6-4afb-8165-8dbe6232119f") self._assert_channel(channel)
def _channel_channel_id_live(self): with self.settings( RESTCLIENTS_NWS_DAO_CLASS='restclients.dao_implementation.nws.Live'): nws = NWS() channel = nws.get_channel_by_channel_id("ce1d46fe-1cdf-4c5a-a316-20f6c99789b7") self.assertTrue(channel is not None)