Example #1
0
def test_pkg(package):
    """Test running the package
    """
    mkdir('dist/test', parent=True)
    unpack(package, 'dist/test/')
    dirname = basename( ".".join(package.split(".")[:-2]))
    sh('emacs -Q -l dist/test/'+dirname+'/epy-init.el')
Example #2
0
def test_run():
    sh('emacs -Q -l epy-init.el')
 def test_sh(self):
     ex, out, err = sh("ls -l")
     assert out