Skip to content

Instantly share code, notes, and snippets.

View GowthamShanmugam's full-sized avatar

Gowtham Shanmugasundaram GowthamShanmugam

View GitHub Profile
from gluster_bridge.manager.rpc import RpcInterface
from mock import MagicMock
from unittest.case import TestCase as UnitTestCase
class TestRpcInterface(UnitTestCase):
def test_create_volume(self):
pass
code:
from tendrl.gluster_bridge.manager import manager
class testmanager(object):
def test_manager(self):
pass
result: