Exemple #1
0
 def test_import_module(self):
     """Test :func:`humanfriendly.usage.import_module()`."""
     import humanfriendly
     assert humanfriendly is import_module('humanfriendly')
     from humanfriendly import cli
     assert cli is import_module('humanfriendly.cli')
 def test_import_module(self):
     import humanfriendly
     assert humanfriendly is import_module('humanfriendly')
     from humanfriendly import cli
     assert cli is import_module('humanfriendly.cli')