Skip to content

Commit

Permalink
Merge pull request #3729 from royalpeasantry/develop
Browse files Browse the repository at this point in the history
Loosen requirements for ID field in PROJECT_PRIVATE_RE.
  • Loading branch information
mfschwartz committed May 13, 2017
2 parents 315b76e + 6e9f6d0 commit 5e85d7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/gs/test_basic.py
Expand Up @@ -75,13 +75,13 @@


# Regexp for matching project-private default object ACL. # Regexp for matching project-private default object ACL.
PROJECT_PRIVATE_RE = ('\s*<AccessControlList>\s*<Entries>\s*<Entry>' PROJECT_PRIVATE_RE = ('\s*<AccessControlList>\s*<Entries>\s*<Entry>'
'\s*<Scope type="GroupById">\s*<ID>[0-9a-fA-F]+</ID>' '\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
'\s*(<Name>[^<]+</Name>)?\s*</Scope>' '\s*(<Name>[^<]+</Name>)?\s*</Scope>'
'\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>' '\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>'
'\s*<Scope type="GroupById">\s*<ID>[0-9a-fA-F]+</ID>' '\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
'\s*(<Name>[^<]+</Name>)?\s*</Scope>' '\s*(<Name>[^<]+</Name>)?\s*</Scope>'
'\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>' '\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>'
'\s*<Scope type="GroupById">\s*<ID>[0-9a-fA-F]+</ID>' '\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
'\s*(<Name>[^<]+</Name>)?\s*</Scope>' '\s*(<Name>[^<]+</Name>)?\s*</Scope>'
'\s*<Permission>READ</Permission>\s*</Entry>\s*</Entries>' '\s*<Permission>READ</Permission>\s*</Entry>\s*</Entries>'
'\s*</AccessControlList>\s*') '\s*</AccessControlList>\s*')
Expand Down

0 comments on commit 5e85d7c

Please sign in to comment.