
import unittest

from couchdb.tests import client, couch_tests, design, couchhttp, \
                          multipart, mapping, view, package, tools


def suite():
    suite = unittest.TestSuite()
    suite.addTest(client.suite())
    suite.addTest(design.suite())
    suite.addTest(couchhttp.suite())
    suite.addTest(multipart.suite())
    suite.addTest(mapping.suite())
    suite.addTest(view.suite())
    suite.addTest(couch_tests.suite())
    suite.addTest(package.suite())
    suite.addTest(tools.suite())
    return suite


if __name__ == '__main__':
    unittest.main(defaultTest='suite')


import unittest

from couchdb.tests import client, couch_tests, design, couchhttp, \
                          multipart, mapping, view, package, tools, \
                          loader


def suite():
    suite = unittest.TestSuite()
    suite.addTest(client.suite())
    suite.addTest(design.suite())
    suite.addTest(couchhttp.suite())
    suite.addTest(multipart.suite())
    suite.addTest(mapping.suite())
    suite.addTest(view.suite())
    suite.addTest(couch_tests.suite())
    suite.addTest(package.suite())
    suite.addTest(tools.suite())
    suite.addTest(loader.suite())
    return suite


if __name__ == '__main__':
    unittest.main(defaultTest='suite')

Include loader tests in test suite
Include loader tests in test suite

  
  import unittest
  
  from couchdb.tests import client, couch_tests, design, couchhttp, \
-                           multipart, mapping, view, package, tools
+                           multipart, mapping, view, package, tools, \
+                           loader
  
  
  def suite():
      suite = unittest.TestSuite()
      suite.addTest(client.suite())
      suite.addTest(design.suite())
      suite.addTest(couchhttp.suite())
      suite.addTest(multipart.suite())
      suite.addTest(mapping.suite())
      suite.addTest(view.suite())
      suite.addTest(couch_tests.suite())
      suite.addTest(package.suite())
      suite.addTest(tools.suite())
+     suite.addTest(loader.suite())
      return suite
  
  
  if __name__ == '__main__':
      unittest.main(defaultTest='suite')
  
Include loader tests in test suite
## Code Before:

import unittest

from couchdb.tests import client, couch_tests, design, couchhttp, \
                          multipart, mapping, view, package, tools


def suite():
    suite = unittest.TestSuite()
    suite.addTest(client.suite())
    suite.addTest(design.suite())
    suite.addTest(couchhttp.suite())
    suite.addTest(multipart.suite())
    suite.addTest(mapping.suite())
    suite.addTest(view.suite())
    suite.addTest(couch_tests.suite())
    suite.addTest(package.suite())
    suite.addTest(tools.suite())
    return suite


if __name__ == '__main__':
    unittest.main(defaultTest='suite')

## Instruction:
Include loader tests in test suite
## Code After:

import unittest

from couchdb.tests import client, couch_tests, design, couchhttp, \
                          multipart, mapping, view, package, tools, \
                          loader


def suite():
    suite = unittest.TestSuite()
    suite.addTest(client.suite())
    suite.addTest(design.suite())
    suite.addTest(couchhttp.suite())
    suite.addTest(multipart.suite())
    suite.addTest(mapping.suite())
    suite.addTest(view.suite())
    suite.addTest(couch_tests.suite())
    suite.addTest(package.suite())
    suite.addTest(tools.suite())
    suite.addTest(loader.suite())
    return suite


if __name__ == '__main__':
    unittest.main(defaultTest='suite')
