def test_get_dow_returns_empty_dataset_when_no_data(self): d = cache.get_dow() assert d == {'days': [], 'day_ints': [], 'percentages': []}
def test_dow_percentages_split_correctly(self): d = cache.get_dow() assert d['percentages'] == ['33.3', '33.3', '33.3']