"""Fixtures for streams data.""" from decimal import Decimal from sosmodels.streams_track_totals import StreamsTrackTotalsSpotify from sosmodels.streams_vendor_totals import StreamsVendorTotalsSpotify STREAMS_VENDOR_TOTALS_MODEL = StreamsVendorTotalsSpotify( vendor_key='L:22622', date='2017-01-22', ttl=1485080298, overall_number_of_streams=9, streams_from_passive_discovery=3, streams_from_active_discovery=3, streams_from_collection=3) STREAMS_TRACK_TOTALS_MODEL = StreamsTrackTotalsSpotify( vendor_track_key='L:22622', date='2017-01-22', ttl=1485080298, overall_number_of_streams=9, streams_from_passive_discovery=3, streams_from_active_discovery=3, streams_from_collection=3) STREAMS_VENDOR_TOTALS_DICT = { 'vendor_key': 'L:22622', 'date': '2017-01-22', 'ttl': Decimal(1485080298), 'overall_number_of_streams': Decimal(9), 'streams_from_passive_discovery': Decimal(3), 'streams_from_active_discovery': Decimal(3), 'streams_from_collection': Decimal(3) } STREAMS_TRACK_TOTALS_DICT = { 'vendor_track_key': 'L:22622', 'date': '2017-01-22', 'ttl': Decimal(1485080298), 'overall_number_of_streams': Decimal(9), 'streams_from_passive_discovery': Decimal(3), 'streams_from_active_discovery': Decimal(3), 'streams_from_collection': Decimal(3) }