def test_size_from_dir(self, filename, expected): self.assertEqual(hugepages._size_from_dir(filename), expected)