def test_just_junes_value_counts(self): june_transactions = self.q.get_transactions_by_range('53',6,6) qs = Calculations(june_transactions) assert qs.value_counts().__class__ == pandas.core.series.Series
def test_all_transaction_value_counts(self): queryset = self.q.all_transactions('53') qs = Calculations(queryset) assert qs.value_counts().__class__ == pandas.core.series.Series