def test_sqlite_info():
    name = 'sqlite/' + time.strftime('%Y%m%d_%H%M%S')
    dry_run = False
    plugin = SQLitePlugin(name, config, config['tmpdir'], dry_run)
    ok_(isinstance(plugin.info(), basestring))
    
def test_sqlite_plugin():
    name = 'sqlite/' + time.strftime('%Y%m%d_%H%M%S')
    dry_run = False
    plugin = SQLitePlugin(name, config, config['tmpdir'], dry_run)
    assert_equals(plugin.estimate_backup_size(), 2048)
    plugin.backup()
def test_sqlite_dry_run():
    name = 'sqlite/' + time.strftime('%Y%m%d_%H%M%S')
    dry_run = True
    plugin = SQLitePlugin(name, config, config['tmpdir'], dry_run)
    plugin.backup()
Exemple #4
0
def test_sqlite_info():
    name = 'sqlite/' + time.strftime('%Y%m%d_%H%M%S')
    dry_run = False
    plugin = SQLitePlugin(name, config, config['tmpdir'], dry_run)
    ok_(isinstance(plugin.info(), str))
Exemple #5
0
def test_sqlite_plugin():
    name = 'sqlite/' + time.strftime('%Y%m%d_%H%M%S')
    dry_run = False
    plugin = SQLitePlugin(name, config, config['tmpdir'], dry_run)
    assert_equals(plugin.estimate_backup_size(), 2048)
    plugin.backup()
Exemple #6
0
def test_sqlite_dry_run():
    name = 'sqlite/' + time.strftime('%Y%m%d_%H%M%S')
    dry_run = True
    plugin = SQLitePlugin(name, config, config['tmpdir'], dry_run)
    plugin.backup()