/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/git/tests/__init__.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2018-06-30 15:17:38 UTC
  • mfrom: (7002.2.1 bp_git_no_dulwich)
  • Revision ID: breezy.the.bot@gmail.com-20180630151738-hhr18vf0jc190ic3
Load bp.git tests without dulwich

Merged from https://code.launchpad.net/~gz/brz/bp_git_no_dulwich/+merge/348786

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
            return importer.import_stream(self.stream)
188
188
 
189
189
 
 
190
class MissingFeature(tests.TestCase):
 
191
 
 
192
    def test_dulwich(self):
 
193
        self.requireFeature(DulwichFeature)
 
194
 
 
195
 
190
196
def test_suite():
191
197
    loader = tests.TestUtil.TestLoader()
192
198
 
193
199
    suite = tests.TestUtil.TestSuite()
194
200
 
 
201
    if not DulwichFeature.available():
 
202
        suite.addTests(loader.loadTestsFromTestCase(MissingFeature))
 
203
        return suite
 
204
 
195
205
    testmod_names = [
196
206
        'test_blackbox',
197
207
        'test_builder',