'Test request with a valid username.'

def test_valid_username_request(self):

    request_json = {'invalid_key': 'my_device'}
    result = requests.post(BRIDGE_URL_BASE.format('/api'), data=json.dumps(request_json), timeout=5)
    self.assertEqual(result.status_code, 400)
