Fix deprecation warnings due to invalid escape sequences. (#3273)
* Fix deprecation warnings due to invalid escape sequences. * Fix linter error.
This commit is contained in:
parent
c321ad46b0
commit
7054143701
13 changed files with 35 additions and 35 deletions
|
|
@ -16,7 +16,7 @@ from .helpers import rsa_check_private_key
|
|||
RSA_PUBLIC_KEY_OPENSSH = b"""\
|
||||
ssh-rsa \
|
||||
AAAAB3NzaC1yc2EAAAADAQABAAABAQDusXfgTE4eBP50NglSzCSEGnIL6+cr6m3H\
|
||||
6cZANOQ+P1o/W4BdtcAL3sor4iGi7SOeJgo\8kweyMQrhrt6HaKGgromRiz37LQx\
|
||||
6cZANOQ+P1o/W4BdtcAL3sor4iGi7SOeJgo\\8kweyMQrhrt6HaKGgromRiz37LQx\
|
||||
4YIAcBi4Zd023mO/V7Rc2Chh18mWgLSmA6ng+j37ip6452zxtv0jHAz9pJolbKBp\
|
||||
JzbZlPN45ZCTk9ck0fSVHRl6VRSSPQcpqi65XpRf+35zNOCGCc1mAOOTmw59Q2a6\
|
||||
A3t8mL7r91aM5q6QOQm219lctFM8O7HRJnDgmhGpnjRwE1LyKktWTbgFZ4SNWU2X\
|
||||
|
|
|
|||
|
|
@ -287,13 +287,13 @@ def test_get_all_tags_value_filter():
|
|||
tags = conn.get_all_tags(filters={"value": "*some*value*"})
|
||||
tags.should.have.length_of(3)
|
||||
|
||||
tags = conn.get_all_tags(filters={"value": "*value\*"})
|
||||
tags = conn.get_all_tags(filters={"value": r"*value\*"})
|
||||
tags.should.have.length_of(1)
|
||||
|
||||
tags = conn.get_all_tags(filters={"value": "*value\*\*"})
|
||||
tags = conn.get_all_tags(filters={"value": r"*value\*\*"})
|
||||
tags.should.have.length_of(1)
|
||||
|
||||
tags = conn.get_all_tags(filters={"value": "*value\*\?"})
|
||||
tags = conn.get_all_tags(filters={"value": r"*value\*\?"})
|
||||
tags.should.have.length_of(1)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue