mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
10 lines
233 B
Python
Executable File
10 lines
233 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import class_test
|
|
|
|
my_class_test = class_test.ClassTest("abc");
|
|
print(my_class_test.getName())
|
|
my_class_test.setName("012")
|
|
print(my_class_test.getName())
|
|
assert(my_class_test.getName() == my_class_test.name)
|