mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-12 21:56:54 +00:00
integration_py: fix expected sizes
This commit is contained in:
parent
2d28b20d46
commit
a6d7f90f50
@ -142,9 +142,9 @@ class OIDebuggerTestCase(unittest.TestCase):
|
||||
with open(OUTPUT_PATH, "r") as f:
|
||||
output = json.loads(f.read())
|
||||
self.assertEqual(output[0]["typeName"], "Foo")
|
||||
self.assertEqual(output[0]["staticSize"], 2176)
|
||||
self.assertEqual(output[0]["staticSize"], 2192)
|
||||
self.assertEqual(output[0]["dynamicSize"], 76)
|
||||
self.assertEqual(len(output[0]["members"]), 25)
|
||||
self.assertEqual(len(output[0]["members"]), 24)
|
||||
|
||||
@unittest.skip(
|
||||
"https://github.com/facebookexperimental/object-introspection/issues/53"
|
||||
@ -172,9 +172,9 @@ class OIDebuggerTestCase(unittest.TestCase):
|
||||
with open(OUTPUT_PATH, "r") as f:
|
||||
output = json.loads(f.read())
|
||||
self.assertEqual(output[0]["typeName"], "Foo")
|
||||
self.assertEqual(output[0]["staticSize"], 2176)
|
||||
self.assertEqual(output[0]["staticSize"], 2192)
|
||||
self.assertEqual(output[0]["dynamicSize"], 76)
|
||||
self.assertEqual(len(output[0]["members"]), 25)
|
||||
self.assertEqual(len(output[0]["members"]), 24)
|
||||
|
||||
def test_custom_generated_file(self):
|
||||
with subprocess.Popen(
|
||||
|
Loading…
Reference in New Issue
Block a user