Mercurial > p > roundup > code
comparison test/test_cgi.py @ 5008:3b9252085ba9
test code cleanup: remove unused variable (which should have been removed with 1873:f63aa57386b0 2003).
| author | Bernhard Reiter <bernhard@intevation.de> |
|---|---|
| date | Tue, 05 Jan 2016 21:34:56 +0100 |
| parents | ca692423e401 |
| children | 364c54991861 |
comparison
equal
deleted
inserted
replaced
| 5007:394949603349 | 5008:3b9252085ba9 |
|---|---|
| 17 from roundup import init, instance, password, hyperdb, date | 17 from roundup import init, instance, password, hyperdb, date |
| 18 | 18 |
| 19 from mocknull import MockNull | 19 from mocknull import MockNull |
| 20 | 20 |
| 21 import db_test_base | 21 import db_test_base |
| 22 | |
| 23 NEEDS_INSTANCE = 1 | |
| 24 | 22 |
| 25 class FileUpload: | 23 class FileUpload: |
| 26 def __init__(self, content, filename): | 24 def __init__(self, content, filename): |
| 27 self.content = content | 25 self.content = content |
| 28 self.filename = filename | 26 self.filename = filename |
