def test_verbose_option(self):
     """
     Verifies that the verbose option gets set from the manage options
     """
     options = {'verbose': True}
     initial_data_manager = InitialDataUpdater(options)
     self.assertTrue(initial_data_manager.verbose)
     # cover the branch that prints if verbose is true
     initial_data_manager.log('test')
Beispiel #2
0
 def test_verbose_option(self):
     """
     Verifies that the verbose option gets set from the manage options
     """
     options = {'verbose': True}
     initial_data_manager = InitialDataUpdater(options)
     self.assertTrue(initial_data_manager.verbose)
     # cover the branch that prints if verbose is true
     initial_data_manager.log('test')