S3 should allow dashes in bucket names. Closes #5.
This commit is contained in:
parent
b03d48e6bc
commit
e55f26a07a
4 changed files with 10 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ def test_flask_path_converting_simple():
|
|||
|
||||
|
||||
def test_flask_path_converting_regex():
|
||||
convert_regex_to_flask_path("/(?P<key_name>\w+)").should.equal('/<regex("\w+"):key_name>')
|
||||
convert_regex_to_flask_path("/(?P<key_name>[a-zA-Z0-9\-_]+)").should.equal('/<regex("[a-zA-Z0-9\-_]+"):key_name>')
|
||||
|
||||
convert_regex_to_flask_path("(?P<account_id>\d+)/(?P<queue_name>.*)$").should.equal(
|
||||
'<regex("\d+"):account_id>/<regex(".*"):queue_name>'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue