Refactor tests

This commit is contained in:
Jensun Ravichandran 2021-05-25 21:28:05 +02:00
parent cc49f26b77
commit 3fa1fb54f1
3 changed files with 18 additions and 10 deletions

14
tests/test.py Normal file
View File

@ -0,0 +1,14 @@
"""prototorch.models test suite."""
import unittest
class TestDummy(unittest.TestCase):
def setUp(self):
pass
def test_dummy(self):
pass
def tearDown(self):
pass

View File

@ -1,6 +0,0 @@
import unittest
class TestDummy(unittest.TestCase):
def test_one(self):
self.assertEqual(True, True)

View File

@ -7,10 +7,10 @@ do
echo -n "$x" $example '... '
export DISPLAY= && python $example --fast_dev_run 1 &> /dev/null
if [[ $? -ne 0 ]]; then
echo "Failed!!!!"
echo "FAILED!!"
failed=1
else
echo "Success."
echo "SUCCESS!"
fi
done