Remove unused import and delete test files
This commit is contained in:
parent
8a15f4f5d7
commit
90aad5375b
3 changed files with 0 additions and 27 deletions
|
|
@ -25,7 +25,6 @@ import sys
|
|||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import shlex
|
||||
import fcntl
|
||||
import platform
|
||||
import fileinput
|
||||
|
|
|
|||
20
test.py
20
test.py
|
|
@ -1,20 +0,0 @@
|
|||
try:
|
||||
from adafruit_shell import Shell
|
||||
except ImportError:
|
||||
raise RuntimeError(
|
||||
"The library 'adafruit_shell' was not found. To install, try typing: sudo pip3 install adafruit-python-shell"
|
||||
)
|
||||
|
||||
shell = Shell()
|
||||
shell.group = "Blinka"
|
||||
|
||||
|
||||
def main():
|
||||
# shell.clear()
|
||||
print("Running test")
|
||||
shell.run_command("./test.sh")
|
||||
|
||||
|
||||
# Main function
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
6
test.sh
6
test.sh
|
|
@ -1,6 +0,0 @@
|
|||
#! /bin/bash
|
||||
>&2 echo This should go to stderr
|
||||
echo Interactive Test
|
||||
>&2 echo This should also go to stderr
|
||||
read -p "Hello, who am I speaking to? " NAME
|
||||
echo It\'s Nice to meet you $NAME
|
||||
Loading…
Reference in a new issue