~ubuntu-branches/ubuntu/saucy/python-novaclient/saucy-proposed

« back to all changes in this revision

Viewing changes to novaclient/tests/v1_1/test_security_group_rules.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-09-24 09:15:12 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20130924091512-yjzov9e7qa8sdb1v
Tags: 1:2.15.0-0ubuntu1
* New upstream version.
* debian/control:
  - Add python-babel, python-keyring, and python-six build-depends.
  - Dropped python-argparse, python-setuptools-git, python-httplib2,
    python-nose as a build-depends.
  - Dropped python-httplib2 and python-keyring as a dependency.
  - Add versioned depends for python-requests, python-simplejson,
    python-fixtures, testrepesitory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
    def test_security_group_rule_str(self):
62
62
        sg = cs.security_group_rules.create(1, "tcp", 1, 65535, "10.0.0.0/16")
63
 
        self.assertEquals('1', str(sg))
 
63
        self.assertEqual('1', str(sg))
64
64
 
65
65
    def test_security_group_rule_del(self):
66
66
        sg = cs.security_group_rules.create(1, "tcp", 1, 65535, "10.0.0.0/16")