def test_put_invalid_foreign_key(self):
        response = self.app.put('/tracks/998',
                content_type='application/json',
                data=json.dumps(
                    {'Name': 'Some New Album',
                      'Milliseconds': 343719,
                      'TrackId': 998,
                      'UnitPrice': 0.99,}))
        assert response.status_code == 422
Helper function for expanding a regular expression
dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanBasicVerbs.test_put_invalid_foreign_key--crossover with--dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/idlelib/ReplaceDialog.py/ReplaceDialog._replace_expand