':py:meth:`PKeyType.generate_key` generates a DSA key when passed
:py:data:`TYPE_DSA` as a type and a reasonable number of bits.'

def test_dsaGeneration(self):

    bits = 512
    key = PKey()
    key.generate_key(TYPE_DSA, bits)
