class_docstr: Unit tests specific to retry decorator.
class_docstr_tok: ["Unit","tests","specific","to","retry","decorator","."]
docstr: If the initial call succeeds, test that no retries are performed.
docstr_tok: ["If","the","initial","call","succeeds",",","test","that","no","retries","are","performed","."]
code: def testNoRetryIfCallSucceeds(self, mockTime, mockSleep):
      """If the initial call succeeds, test that no retries are performed."""
  
      self.mockSleepTime(mockTime, mockSleep)
  
      retryDecorator = decorators.retry(
          timeoutSec=30, initialRetryDelaySec=2, maxRetryDelaySec=10
      )
  
      testFunction = Mock(__name__="testFunction", autospec=True)
  
      retryDecorator(testFunction)()
  
      testFunction.assert_called_once_with()
  
imports: from mock import patch, call, Mock
  from nupic.support.unittesthelpers.testcasebase import unittest
  from nupic.support import decorators
label_desc: Use image node_id 8 for calling the RetryDecoratorTest obj's underlying member method code with example usage: obj.testNoRetryIfCallSucceeds(mockTime, mockSleep) without return types