~landscape/zope3/ztk-1.1.3

« back to all changes in this revision

Viewing changes to src/twisted/plugins/notestplugin.py

  • Committer: Andreas Hasenack
  • Date: 2009-07-20 17:49:16 UTC
  • Revision ID: andreas@canonical.com-20090720174916-g2tn6qmietz2hn0u
Revert twisted removal, it breaks several dozen tests [trivial]

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- test-case-name: twisted.test.test_plugin -*-
 
2
# Copyright (c) 2005 Divmod, Inc.
 
3
# See LICENSE for details.
 
4
 
 
5
"""Plugin module for use by the plugin system's unit tests.
 
6
 
 
7
Nothing to see here, really.
 
8
"""
 
9
 
 
10
# It's okay to fail - ONCE.
 
11
 
 
12
import os
 
13
 
 
14
from twisted.python.util import sibpath
 
15
 
 
16
if os.path.exists(sibpath(__file__, 'dropin.cache')):
 
17
    import twisted.test.test_plugin as TEST
 
18
    assert not TEST.running