test/functional/abc-cmdline.py
def check_subversion(self, pattern_str):
        'Check that the subversion is set as expected'
        netinfo = self.nodes[0].getnetworkinfo()
        subversion = netinfo['subversion']
        pattern = re.compile(pattern_str)
        assert pattern.match(subversion)
Check that the subversion is set as expected
Check that the subversion is set as expected
Check that the subversion is set as expected
def check_subversion(self, pattern_str):
        netinfo = self.nodes[0].getnetworkinfo()
        subversion = netinfo['subversion']
        pattern = re.compile(pattern_str)
        assert pattern.match(subversion)
def check_subversion ( self , pattern_str ) : netinfo = self . nodes [ 0 ] . getnetworkinfo ( ) subversion = netinfo [ 'subversion' ] pattern = re . compile ( pattern_str ) assert pattern . match ( subversion )
Check that the subversion is set as expected
Check that the subversion is set as expected
'Check that the subversion is set as expected'
self
pattern_str