Skip to content

Commit

Permalink
test comparison of upload configurations
Browse files Browse the repository at this point in the history
modified:   tests/test_flask_reuploaded.py
  • Loading branch information
jugmac00 committed Jan 18, 2021
1 parent 31732e2 commit f4251af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_flask_reuploaded.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ def configure(self, *sets, **options):
configure_uploads(self.app, sets)
return self.app.upload_set_config

def test_compare_upload_configurations(self):
"""UploadConfigurations are only comparable to UploadConfigurations"""
rv = Config("/var/files", "http://localhost").__eq__("abc")
assert rv is NotImplemented

def test_manual(self):
f, p = UploadSet('files'), UploadSet('photos')
setconfig = self.configure(
Expand Down

0 comments on commit f4251af

Please sign in to comment.