10 | | File "C:\Workspace\src\trac\repos\trunk\trac\tests\attachment.py", line 101, in test_delete |
11 | | attachment1.insert('foo.txt', tempfile.TemporaryFile(), 0) |
12 | | File "C:\Workspace\src\trac\repos\trunk\trac\attachment.py", line 205, in insert |
13 | | db = self.env.get_db_cnx() |
14 | | File "C:\Workspace\src\trac\repos\trunk\trac\test.py", line 293, in get_db_cnx |
| 8 | File "trac/db/tests/functional.py", line 27, in <module> |
| 9 | unittest.main(defaultTest='functionalSuite') |
| 10 | File "C:\Dev\Python261\lib\unittest.py", line 817, in __init__ |
| 11 | self.runTests() |
| 12 | File "C:\Dev\Python261\lib\unittest.py", line 861, in runTests |
| 13 | result = testRunner.run(self.test) |
| 14 | File "C:\Dev\Python261\lib\unittest.py", line 753, in run |
| 15 | test(result) |
| 16 | File "C:\Dev\Python261\lib\unittest.py", line 464, in __call__ |
| 17 | return self.run(*args, **kwds) |
| 18 | File "C:\Dev\Python261\lib\unittest.py", line 460, in run |
| 19 | test(result) |
| 20 | File "C:\Workspace\src\trac\repos\0.11-stable\trac\test.py", line 137, in __call__ |
| 21 | return self.run(*args, **kwds) |
| 22 | File "C:\Workspace\src\trac\repos\0.11-stable\trac\test.py", line 124, in run |
| 23 | self.setUp() |
| 24 | File "C:\Workspace\src\trac\repos\0.11-stable\trac\tests\functional\__init__.py", line 126, in setUp |
| 25 | self._testenv = self.env_class(dirname, port, baseurl) |
| 26 | File "C:\Workspace\src\trac\repos\0.11-stable\trac\tests\functional\testenv.py", line 57, in __init__ |
| 27 | self.destroy() |
| 28 | File "C:\Workspace\src\trac\repos\0.11-stable\trac\tests\functional\testenv.py", line 67, in destroy |
| 29 | env.destroy_db() |
| 30 | File "C:\Workspace\src\trac\repos\0.11-stable\trac\test.py", line 350, in destroy_db |
| 31 | db = self.get_db_cnx() |
| 32 | File "C:\Workspace\src\trac\repos\0.11-stable\trac\test.py", line 292, in get_db_cnx |
22 | | ProgrammingError: relation "system" does not exist |
23 | | |
24 | | |
25 | | ====================================================================== |
26 | | ERROR: test_delete (trac.tests.attachment.AttachmentTestCase) |
27 | | ---------------------------------------------------------------------- |
28 | | Traceback (most recent call last): |
29 | | File "C:\Workspace\src\trac\repos\trunk\trac\tests\attachment.py", line 43, in tearDown |
30 | | self.env.reset_db() |
31 | | File "C:\Workspace\src\trac\repos\trunk\trac\test.py", line 331, in reset_db |
32 | | DatabaseManager(EnvironmentStub.dbenv).init_db() |
33 | | File "C:\Workspace\src\trac\repos\trunk\trac\db\api.py", line 82, in init_db |
34 | | connector.init_db(**args) |
35 | | File "C:\Workspace\src\trac\repos\trunk\trac\db\postgres_backend.py", line 76, in init_db |
36 | | cursor.execute('CREATE SCHEMA "%s"' % cnx.schema) |
37 | | File "C:\Workspace\src\trac\repos\trunk\trac\db\util.py", line 60, in execute |
38 | | return self.cursor.execute(sql) |
39 | | ProgrammingError: schema "TheTracTest" already exists |
40 | | |
41 | | |
42 | | ====================================================================== |
43 | | ERROR: test_delete_file_gone (trac.tests.attachment.AttachmentTestCase) |
44 | | ---------------------------------------------------------------------- |
45 | | Traceback (most recent call last): |
46 | | File "C:\Workspace\src\trac\repos\trunk\trac\tests\attachment.py", line 123, in test_delete_file_gone |
47 | | attachment.insert('foo.txt', tempfile.TemporaryFile(), 0) |
48 | | File "C:\Workspace\src\trac\repos\trunk\trac\attachment.py", line 237, in insert |
49 | | self.author, self.ipnr)) |
50 | | File "C:\Workspace\src\trac\repos\trunk\trac\db\util.py", line 59, in execute |
51 | | return self.cursor.execute(sql_escape_percent(sql), args) |
52 | | File "C:\Workspace\src\trac\repos\trunk\trac\db\util.py", line 59, in execute |
53 | | return self.cursor.execute(sql_escape_percent(sql), args) |
54 | | ProgrammingError: relation "attachment" does not exist |
55 | | |
| 40 | psycopg2.ProgrammingError: relation "system" does not exist |