def test_generate_2arg(self):
        dsaObj = self.dsa.generate(1024, Random.new().read)
        self._check_private_key(dsaObj)
        pub = dsaObj.publickey()
        self._check_public_key(pub)
Check that cons slicing works as expected
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pycrypto-2.6.1/lib/Crypto/SelfTest/PublicKey/test_DSA.py/DSATest.test_generate_2arg--crossover with--dataset/ETHPy150Open hylang/hy/tests/models/test_cons.py/test_cons_slicing