def test_get_graphable_statistics_returns_graphable_instances(): g_stats = statistics.get_graphable_statistics() assert all([s.graphable for s in g_stats])
def test_get_graphable_statistics_returns_subset_of_statistics(): stats = statistics.get_statistics() g_stats = statistics.get_graphable_statistics() assert g_stats <= stats