165
165
errmsg = "WARNING: Could not read board information\n"
166
166
fake_file('/sys/class/dmi/id/board_name', newpath='/foo/bar')
167
167
fake_file('/proc/cpuinfo', newpath='/foo/bar')
170
170
self.assertEqual([], devs)
171
171
self.assertEqual(errmsg, self.out.getvalue())