Example #1
0
 def test_get_tftp_path_prefix_without_trailing_slash(self):
     self.config(tftp_root='/tftpboot-path', group='pxe')
     path_prefix = pxe_utils.get_tftp_path_prefix()
     self.assertEqual(path_prefix, '/tftpboot-path/')
Example #2
0
 def test_get_tftp_path_prefix_without_trailing_slash(self):
     self.config(tftp_root='/tftpboot-path', group='pxe')
     path_prefix = pxe_utils.get_tftp_path_prefix()
     self.assertEqual(path_prefix, '/tftpboot-path/')