def test_put_nonexistant(self):
        request_data = {'id': 101, 'question': 'Is there anybody home?'}
        body = json.dumps(request_data)
        response, content = self.client.put(
            path='/api/poll/1/', body=body,
            headers={'Content-Type': 'application/json'})

        assert response.status == http.client.OK

        data = json.loads(content.decode('utf8'))

        assert isinstance(data, dict)
        assert set(data.items()) <= set(request_data.items())
dataset/ETHPy150Open armet/python-armet/tests/connectors/test_put.py/TestResourcePut.test_put_nonexistant/swapped operands of `<=`