def test_newInstance(self): classname = "nbdiff.server.command.ComparisonCommand" assert isinstance( rs.get_class(classname).newInstance(), ccmd.ComparisonCommand)
def test_get_Class(self): cmd = "nbdiff.server.command.UploadCommand" module = "module 'nbdiff.server.command.UploadCommand' " assert module in str(rs.get_class(cmd))
def test_newInstance(self): assert isinstance( rs.get_class("nbdiff.server.command.AboutUsCommand").newInstance(), aucmd.AboutUsCommand)
def test_newInstance(self): classname = "nbdiff.server.command.SaveNotebookCommand" assert isinstance( rs.get_class(classname).newInstance(), sncmd.SaveNotebookCommand)
def test_newInstance(self): assert isinstance( rs.get_class("nbdiff.server.command.UploadCommand").newInstance(), ucmd.UploadCommand)
def test_newInstance(self): classname = "nbdiff.server.command.NotebookRequestCommand" assert isinstance( rs.get_class(classname).newInstance(), nrcmd.NotebookRequestCommand)
def test_newInstance(self): classname = "nbdiff.server.command.ResourceRequestCommand" assert isinstance( rs.get_class(classname).newInstance(), rrcmd.ResourceRequestCommand)
def test_newInstance(self): classname = "nbdiff.server.command.ComparisonCommand" assert isinstance(rs.get_class(classname).newInstance(), ccmd.ComparisonCommand)
def test_newInstance(self): classname = "nbdiff.server.command.MergeURLCommand" assert isinstance( rs.get_class(classname).newInstance(), mucmd.MergeURLCommand)
def test_newInstance(self): assert isinstance(rs.get_class("nbdiff.server.command.AboutUsCommand").newInstance(), aucmd.AboutUsCommand)
def test_newInstance(self): assert isinstance(rs.get_class("nbdiff.server.command.UploadCommand").newInstance(), ucmd.UploadCommand)
def test_newInstance(self): classname = "nbdiff.server.command.SaveNotebookCommand" assert isinstance(rs.get_class(classname).newInstance(), sncmd.SaveNotebookCommand)
def test_newInstance(self): classname = "nbdiff.server.command.ResourceRequestCommand" assert isinstance(rs.get_class(classname).newInstance(), rrcmd.ResourceRequestCommand)
def test_newInstance(self): classname = "nbdiff.server.command.NotebookRequestCommand" assert isinstance(rs.get_class(classname).newInstance(), nrcmd.NotebookRequestCommand)
def test_newInstance(self): classname = "nbdiff.server.command.MergeURLCommand" assert isinstance(rs.get_class(classname).newInstance(), mucmd.MergeURLCommand)