mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-25 02:13:06 +00:00
10 lines
240 B
Python
10 lines
240 B
Python
|
import unittest
|
||
|
|
||
|
from drgn import Architecture, Platform
|
||
|
|
||
|
|
||
|
class TestPlatform(unittest.TestCase):
|
||
|
def test_default_flags(self):
|
||
|
Platform(Architecture.X86_64)
|
||
|
self.assertRaises(ValueError, Platform, Architecture.UNKNOWN)
|