def test_get_activities_without_feature_no_activities_with_feature(self):
     """Should return all-true boolean index if no activities have the feature"""
     self.assertEqual([True, True, True],
                      list(get_observations_without_feature(self.test_activities, 'non_existing_feature')))
 def test_get_activities_without_feature_first_activity_has_feature(self):
     """Should return all-true boolean index except for first activity that has the feature"""
     self.assertEqual([False, True, True],
                      list(get_observations_without_feature(self.test_activities, 'average_speed_28')))
 def test_get_activities_without_feature_all_activities_with_feature(self):
     """Should return all-false boolean index if all activities have the feature"""
     self.assertEqual([False, False, False],
                      list(get_observations_without_feature(self.test_activities, 'average_speed')))