mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-26 04:41:52 -08:00
Remove tests and alternative Python implementations
Ad discussed here: https://github.com/coding-horror/basic-computer-games/issues/548#issuecomment-1081008471
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
import io
|
||||
|
||||
import pytest
|
||||
from superstartrek import main
|
||||
|
||||
|
||||
def test_main(monkeypatch, capsys):
|
||||
monkeypatch.setattr("sys.stdin", io.StringIO("NAV\n1\n1\nSRS\nXXX\nXXX\n"))
|
||||
with pytest.raises(SystemExit):
|
||||
main()
|
||||
# captured = capsys.readouterr()
|
||||
Reference in New Issue
Block a user