def test_does_not_create_duplicates_when_saving_multiple_times(self):
        experiment = Experiment(self.redis, 'basket_text', 'Basket', 'Cart')
        experiment.save()
        experiment.save()
        assert self.redis in 'basket_text'
        assert self.redis.lrange('basket_text', 0, -1) == ['Basket', 'Cart']
dataset/ETHPy150Open jpvanhal/flask-split/tests/test_models.py/TestExperiment.test_does_not_create_duplicates_when_saving_multiple_times/swapped operands of `in`