This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.net.URL; | |
import org.apache.http.HttpException; | |
import org.apache.log4j.BasicConfigurator; | |
import org.apache.log4j.Level; | |
import org.apache.log4j.Logger; | |
import org.testng.annotations.Test; | |
import com.rackspacecloud.client.cloudfiles.FilesAccountInfo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Tests login and upload to an OpenStack Object Storage instance. | |
""" | |
import random | |
import subprocess | |
import unittest | |
import cloudfiles | |
from cloudfiles.errors import NoSuchContainer, AuthenticationFailed |
NewerOlder