def test_mknod_creates_fifo(self): self.fs.mknod('foo', 0600 | stat.S_IFIFO) self.assertEqual(self.fs.lstat('foo').st_mode, 0600 | stat.S_IFIFO)