becky_cli/becky/backups/backup_manager.py
def test(self, cli_args):
        """
        Function for testing different functionality.
        """
        if cli_args['action_test'] == 'notifier':
            backup_name = cli_args['name']
            backup = self.get_backup(backup_name)
            backup.notify(cli_args['title'], cli_args['text'])
            print("Notification sent.")
        else:
            NotImplementedError(f"Test for {cli_args['type']} has not been implemented.")

        Function for testing different functionality.
        
Function for testing different functionality.
Function for testing different functionality .
def test(self, cli_args):
        if cli_args['action_test'] == 'notifier':
            backup_name = cli_args['name']
            backup = self.get_backup(backup_name)
            backup.notify(cli_args['title'], cli_args['text'])
            print("Notification sent.")
        else:
            NotImplementedError(f"Test for {cli_args['type']} has not been implemented.")
def test ( self , cli_args ) : if cli_args [ 'action_test' ] == 'notifier' : backup_name = cli_args [ 'name' ] backup = self . get_backup ( backup_name ) backup . notify ( cli_args [ 'title' ] , cli_args [ 'text' ] ) print ( "Notification sent." ) else : NotImplementedError ( f"Test for {cli_args['type']} has not been implemented." )
Function for testing different functionality.
Function for testing different functionality .
"""
        Function for testing different functionality.
        """
self
cli_args