def test_serializer_outputs_expected_schema(self):
     experiment = ExperimentFactory.create(
         firefox_channel=Experiment.CHANNEL_NIGHTLY)
     serializer = FilterObjectChannelSerializer(experiment)
     self.assertEqual(serializer.data, {
         "type": "channel",
         "channels": ["nightly"]
     })