Add second test project - testing the CIBW_TEST options

This commit is contained in:
Joe Rickerby
2017-03-23 11:20:50 +00:00
parent 747556c417
commit 17a2485d25
4 changed files with 67 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from unittest import TestCase
import spam
class TestSpam(TestCase):
def test_system(self):
self.assertEqual(0, spam.system('python -c "exit(0)"'))
self.assertNotEqual(0, spam.system('python -c "exit(1)"'))