Standardizing round 1

This commit is contained in:
2020-02-08 13:34:58 -06:00
parent 652d7c4795
commit 49f9f6d315
7 changed files with 106 additions and 17 deletions

11
tests/test_units.py Normal file
View File

@@ -0,0 +1,11 @@
import pytest
import os
import subprocess
# TODO Still need to devise a testing strategy (https://foundation.aninix.net/AniNIX/Aether/issues/1)
def test_aether():
print(os.getcwd())
fh = os.popen("echo bye | sftp -o IdentityFile=./aether aether@aninix.net", mode='r', buffering=-1)
output = fh.read()
retcode = fh.close()
assert retcode == None and CheckOutput(output)