예제 #1
0
    def test_copy_custom_data(self):
        migrator = AccountMigrator(
            destination_directory = self.dst_dir,
            source_account = self.account,
            source_password = '******',
        )
        migrator.destination_account = migrator.get_destination_account()
        migrator.copy_account()
        copied_data = migrator.copy_custom_data()

        self.assertEqual(copied_data['hi'], 'there')