Add test for get sent offer by squeak and peer (#1693)

This commit is contained in:
Jonathan Zernik 2021-10-23 00:20:10 -05:00 committed by GitHub
parent 76e1bd29cc
commit dc6cef8cff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 75 additions and 0 deletions

View file

@ -1205,6 +1205,8 @@ class SqueakDb:
"""
Get a sent offer by squeak hash and peer address host. Only
return sent offer if it's not expired and not paid.
TODO: add where clause for peer address network.
"""
s = (
select([self.sent_offers])