Beispiel #1
0
class TestFTP:
    """Testing a remove registry object."""
    def setUp(self):
        self.ftp = FTP()

    def tearDown(self):
        del self.ftp

    def test_connect(self):
        self.ftp.connect(url, username, password)

    def test_attributes(self):
        # Test connecting to a remote registry and set up the basics
        self.registry.connect()

        assert_equal()
Beispiel #2
0
class TestFTP:
  """Testing a remove registry object."""

  def setUp(self):
    self.ftp = FTP()

  def tearDown(self):
    del self.ftp

  def test_connect(self):
    self.ftp.connect(url, username, password)

  def test_attributes(self):
    # Test connecting to a remote registry and set up the basics
    self.registry.connect()

    assert_equal()
Beispiel #3
0
 def setUp(self):
     self.ftp = FTP()
Beispiel #4
0
 def setUp(self):
   self.ftp = FTP()