mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
python unittest find subdirs
This commit is contained in:
1
rootfs_overlay/lkmc/python/unittest_find/README.adoc
Normal file
1
rootfs_overlay/lkmc/python/unittest_find/README.adoc
Normal file
@@ -0,0 +1 @@
|
||||
https://cirosantilli.com/linux-kernel-module-cheat#python-unittest
|
||||
8
rootfs_overlay/lkmc/python/unittest_find/mydir/myfile.py
Normal file
8
rootfs_overlay/lkmc/python/unittest_find/mydir/myfile.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SomeTest(unittest.TestCase):
|
||||
def test_atest(self):
|
||||
"""
|
||||
this test passes
|
||||
"""
|
||||
self.assertEqual(1, 2)
|
||||
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SomeTest(unittest.TestCase):
|
||||
def test_atest(self):
|
||||
"""
|
||||
this test passes
|
||||
"""
|
||||
self.assertEqual(1, 2)
|
||||
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SomeTest(unittest.TestCase):
|
||||
def test_atest(self):
|
||||
"""
|
||||
this test passes
|
||||
"""
|
||||
self.assertEqual(1, 2)
|
||||
8
rootfs_overlay/lkmc/python/unittest_find/myfile.py
Normal file
8
rootfs_overlay/lkmc/python/unittest_find/myfile.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SomeTest(unittest.TestCase):
|
||||
def test_atest(self):
|
||||
"""
|
||||
this test passes
|
||||
"""
|
||||
self.assertEqual(1, 2)
|
||||
8
rootfs_overlay/lkmc/python/unittest_find/myfile2.py
Normal file
8
rootfs_overlay/lkmc/python/unittest_find/myfile2.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SomeTest(unittest.TestCase):
|
||||
def test_atest(self):
|
||||
"""
|
||||
this test passes
|
||||
"""
|
||||
self.assertEqual(1, 2)
|
||||
8
rootfs_overlay/lkmc/python/unittest_find/test/myfile.py
Normal file
8
rootfs_overlay/lkmc/python/unittest_find/test/myfile.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SomeTest(unittest.TestCase):
|
||||
def test_atest(self):
|
||||
"""
|
||||
this test passes
|
||||
"""
|
||||
self.assertEqual(1, 2)
|
||||
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SomeTest(unittest.TestCase):
|
||||
def test_atest(self):
|
||||
"""
|
||||
this test passes
|
||||
"""
|
||||
self.assertEqual(1, 2)
|
||||
Reference in New Issue
Block a user