Refactor tests
This commit is contained in:
parent
cc49f26b77
commit
3fa1fb54f1
14
tests/test.py
Normal file
14
tests/test.py
Normal 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
|
@ -1,6 +0,0 @@
|
||||
import unittest
|
||||
|
||||
|
||||
class TestDummy(unittest.TestCase):
|
||||
def test_one(self):
|
||||
self.assertEqual(True, True)
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user