summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-08-25 13:14:49 -0700
committerVishvananda Ishaya <vishvananda@yahoo.com>2010-08-25 13:14:49 -0700
commit674a5dae7c0630aef346e22950706db0caeb244b (patch)
tree596b34fdc90ca7675e7751679e2a6eef37aa1057 /nova/tests
parent199b9b828d75ec6fa08481585aa5df462497c50f (diff)
downloadnova-674a5dae7c0630aef346e22950706db0caeb244b.tar.gz
nova-674a5dae7c0630aef346e22950706db0caeb244b.tar.xz
nova-674a5dae7c0630aef346e22950706db0caeb244b.zip
more data layer breakouts, lots of fixes to cloud.py
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/network_unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/network_unittest.py b/nova/tests/network_unittest.py
index afa217673..d8a398aa4 100644
--- a/nova/tests/network_unittest.py
+++ b/nova/tests/network_unittest.py
@@ -81,7 +81,7 @@ class NetworkTestCase(test.TrialTestCase):
pubnet = IPy.IP(flags.FLAGS.public_range)
ip_str = str(pubnet[0])
try:
- floating_ip = models.FloatingIp.find_by_ip_str(ip_str)
+ floating_ip = models.FloatingIp.find_by_str(ip_str)
except exception.NotFound:
floating_ip = models.FloatingIp()
floating_ip.ip_str = ip_str