Commit c08f207e by Łukasz Nowak

test: Adapt to OpenSSl 1.1.x result

1 parent e2d4843c
......@@ -660,7 +660,7 @@ class GenerateSignatureScriptTest(unittest.TestCase):
today = datetime.date.today()
result = subprocess.check_output(['openssl', 'x509', '-noout', '-subject',
'-in', self.certificate], universal_newlines=True)
self.assertEqual('subject= /CN=%s' % self.common_name, result.strip())
self.assertEqual('subject=CN = %s' % self.common_name, result.strip())
result = subprocess.check_output(['openssl', 'x509', '-noout', '-enddate',
'-in', self.certificate], universal_newlines=True)
self.assertIn(' %s ' % (today.year + 100), result)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!