modul-completion, lp:1284141

fixed
`py-execute-buffer-base' fixed

`py-execute-buffer-dedicated' would fail with fileless buffer
modul-completion, lp:1284141

ert test added