- def test_get_notfound(self):
- mock=Mock()
- mock.get_cmd.return_value='foo'
- self.assertRaises(NotFound,nsd.Nsd(mock).get,'bar')
+ def test_get_notfound(self):
+ mock = Mock()
+ mock.get_cmd.return_value = 'foo'
+ self.assertRaises(NotFound, nsd.Nsd(mock).get, 'bar')