def test_path_bad_bucket(self):
    fake_bucket = object()
    name = u'blob-name'
    blob = self._make_one(name, bucket=fake_bucket)
    self.assertRaises(AttributeError, getattr, blob, 'path')
def test_path_bad_bucket(self):
    fake_bucket = object()
    name = u'blob-name'
    blob = self._make_one(name, bucket=fake_bucket)
    self.assertRaises(AttributeError, getattr, blob, 'path')