freezer.tests.unit.storages.test_ftp module¶
-
class
freezer.tests.unit.storages.test_ftp.
BaseFtpStorageTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_validate_BaseFtpStorage
()¶
-
-
class
freezer.tests.unit.storages.test_ftp.
FtpStorageTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
create_ftp_test_file
()¶
-
create_ftpstorage_obj
()¶
-
delete_ftp_test_file
()¶
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_add_stream_FtpStorage
(mock_ftp_constructor, mock_open, mock_put_file, mock_create_dirs)¶
-
test_create_dirs_ok_FtpStorage
(mock_ftp_constructor)¶
-
test_create_tempdir_FtpStorage
(mock_ftp_constructor, mock_tempfile_constructor)¶
-
test_getfile_ok_FtpStorage
(mock_ftp_constructor)¶
-
test_init_fail_raise_FtpStorage
(mock_ftp_constructor)¶
-
test_init_ok_FtpStorage
(mock_ftp_constructor)¶
-
test_listdir_fail_raise_FtpStorage
(mock_ftp_constructor)¶
-
test_listdir_ok_FtpStorage
(mock_ftp_constructor)¶
-
test_putfile_ok_FtpStorage
(mock_ftp_constructor)¶
-
test_rmtree_ok_FtpStorage
(mock_ftp_constructor)¶
-
test_write_backup_FtpStorage
(mock_ftp_constructor, mock_open, mock_put_file, mock_create_dirs)¶
-