Add second test project - testing the CIBW_TEST options
This commit is contained in:
@@ -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)"'))
|
||||
Reference in New Issue
Block a user