예제 #1
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.ComparisonCommand"
     assert isinstance(
         rs.get_class(classname).newInstance(), ccmd.ComparisonCommand)
예제 #2
0
 def test_get_Class(self):
     cmd = "nbdiff.server.command.UploadCommand"
     module = "module 'nbdiff.server.command.UploadCommand' "
     assert module in str(rs.get_class(cmd))
예제 #3
0
 def test_newInstance(self):
     assert isinstance(
         rs.get_class("nbdiff.server.command.AboutUsCommand").newInstance(),
         aucmd.AboutUsCommand)
예제 #4
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.SaveNotebookCommand"
     assert isinstance(
         rs.get_class(classname).newInstance(), sncmd.SaveNotebookCommand)
예제 #5
0
 def test_newInstance(self):
     assert isinstance(
         rs.get_class("nbdiff.server.command.UploadCommand").newInstance(),
         ucmd.UploadCommand)
예제 #6
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.NotebookRequestCommand"
     assert isinstance(
         rs.get_class(classname).newInstance(),
         nrcmd.NotebookRequestCommand)
예제 #7
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.ResourceRequestCommand"
     assert isinstance(
         rs.get_class(classname).newInstance(),
         rrcmd.ResourceRequestCommand)
예제 #8
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.ComparisonCommand"
     assert isinstance(rs.get_class(classname).newInstance(), ccmd.ComparisonCommand)
예제 #9
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.MergeURLCommand"
     assert isinstance(
         rs.get_class(classname).newInstance(), mucmd.MergeURLCommand)
예제 #10
0
 def test_get_Class(self):
     cmd = "nbdiff.server.command.UploadCommand"
     module = "module 'nbdiff.server.command.UploadCommand' "
     assert module in str(rs.get_class(cmd))
예제 #11
0
 def test_newInstance(self):
     assert isinstance(rs.get_class("nbdiff.server.command.AboutUsCommand").newInstance(), aucmd.AboutUsCommand)
예제 #12
0
 def test_newInstance(self):
     assert isinstance(rs.get_class("nbdiff.server.command.UploadCommand").newInstance(), ucmd.UploadCommand)
예제 #13
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.SaveNotebookCommand"
     assert isinstance(rs.get_class(classname).newInstance(), sncmd.SaveNotebookCommand)
예제 #14
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.ResourceRequestCommand"
     assert isinstance(rs.get_class(classname).newInstance(), rrcmd.ResourceRequestCommand)
예제 #15
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.NotebookRequestCommand"
     assert isinstance(rs.get_class(classname).newInstance(), nrcmd.NotebookRequestCommand)
예제 #16
0
 def test_newInstance(self):
     classname = "nbdiff.server.command.MergeURLCommand"
     assert isinstance(rs.get_class(classname).newInstance(), mucmd.MergeURLCommand)