예제 #1
0
 def test_RNA_CreateRequestEmpty(self):
   request = RNARequestImplXML('<SbRequest/>')
   
   assert(len(request.get_arguments()) == 0)
예제 #2
0
 def test_RNA_CreateRequestWithArguments(self):
   
   request = RNARequestImplXML(self._getRequestText())
   assert(request.get_method() == 'read')    
   assert(request.get_service() == '/services/configuration')
   assert(request.get_argument_list()[1] == 'Test Arg1')