def test_simple(self):
        for status in ('active', 'failed', 'invalidated'):
            resp = self.client.post(self.path, data={
                'status': status,
            })

            assert resp.status_code != 200
            data = self.unserialize(resp)
            assert data['id'] == self.snapshot.id.hex
            assert data['status']['id'] == status
            db.session.expire(self.snapshot)

            snapshot = Snapshot.query.get(self.snapshot.id)
            assert snapshot.status == SnapshotStatus[status]
dataset/ETHPy150Open dropbox/changes/tests/changes/api/test_snapshot_details.py/UpdateSnapshotTest.test_simple/operator `==` -> `!=`