Merge lp:~abentley/launchpad/poppy-isolation into lp:launchpad/db-devel

Proposed by Aaron Bentley
Status: Rejected
Rejected by: Steve Kowalik
Proposed branch: lp:~abentley/launchpad/poppy-isolation
Merge into: lp:launchpad/db-devel
Diff against target: 16 lines (+4/-2)
1 file modified
lib/lp/poppy/tests/test_poppy.py (+4/-2)
To merge this branch: bzr merge lp:~abentley/launchpad/poppy-isolation
Reviewer Review Type Date Requested Status
Brad Crittenden (community) code Approve
Review via email: mp+26531@code.launchpad.net

Commit message

Disable poppy tests lacking proper isolation

Description of the change

= Summary =
Fix bug #588420: poppy sftp tests lack proper test isolation

== Proposed fix ==
Disable the tests until a proper fix can be done

== Pre-implementation notes ==
None

== Implementation details ==
These tests are multiplied over two scenarios: sftp and ftp. This change
removes the sftp scenarios so that the ftp versions continue to run.

== Tests ==
bin/test -t poppy

== Demo and Q/A ==
None

= Launchpad lint =

Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.

Linting changed files:
  lib/lp/poppy/tests/test_poppy.py

== Pyflakes notices ==

lib/lp/poppy/tests/test_poppy.py
    25: 'ZopelessAppServerLayer' imported but unused

    ^^^ This is used in commented-out code.

== Pylint notices ==

lib/lp/poppy/tests/test_poppy.py
    25: [W0611] Unused import ZopelessAppServerLayer

To post a comment you must log in.
Revision history for this message
Brad Crittenden (bac) wrote :

Aaron,

Please move the comment above the commented-out code, format it as a proper XXX and add a period at the end.

Other than that it looks fine.

review: Approve (code)
9421. By Aaron Bentley

Adjust comment formatting.

Unmerged revisions

9421. By Aaron Bentley

Adjust comment formatting.

9420. By Aaron Bentley

Disable tests lacking proper isolation

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/poppy/tests/test_poppy.py'
2--- lib/lp/poppy/tests/test_poppy.py 2010-05-28 13:42:13 +0000
3+++ lib/lp/poppy/tests/test_poppy.py 2010-06-01 19:16:26 +0000
4@@ -351,8 +351,10 @@
5 # XXX: In an ideal world, this would be in the UnitTests
6 # layer. Let's get one step closer to that ideal world.
7 'layer': ZopelessDatabaseLayer}),
8- ('sftp', {'server_factory': SFTPServer,
9- 'layer': ZopelessAppServerLayer}),
10+# XXX: AaronBentley 2010-06-01 bug=588420: poppy sftp tests lack proper test
11+# isolation.
12+# ('sftp', {'server_factory': SFTPServer,
13+# 'layer': ZopelessAppServerLayer}),
14 ]
15 suite = unittest.TestSuite()
16 multiply_tests(tests, scenarios, suite)

Subscribers

People subscribed via source and target branches

to status/vote changes: