示例#1
0
 def test_combine_paths_empty(self):
     self.assertEqual(combine_paths(), None)
示例#2
0
 def test_combine_paths(self):
     self.assertEqual(combine_paths('~/tmp', '/tmp/$USER', None),
                      '/tmp/foo')
     self.assertEqual(combine_paths('~/tmp', '/tmp/$USER', ''), '')
示例#3
0
文件: conf_test.py 项目: gimlids/LTPM
 def test_combine_paths_empty(self):
     assert_equal(combine_paths(), None)
示例#4
0
文件: conf_test.py 项目: gimlids/LTPM
 def test_combine_paths(self):
     assert_equal(combine_paths('~/tmp', '/tmp/$USER', None),
                  '/tmp/foo')
     assert_equal(combine_paths('~/tmp', '/tmp/$USER', ''), '')
示例#5
0
文件: test_conf.py 项目: icio/mrjob
 def test_combine_paths(self):
     self.assertEqual(combine_paths('~/tmp', '/tmp/$USER', None),
                  '/tmp/foo')
     self.assertEqual(combine_paths('~/tmp', '/tmp/$USER', ''), '')
示例#6
0
文件: test_conf.py 项目: icio/mrjob
 def test_combine_paths_empty(self):
     self.assertEqual(combine_paths(), None)
示例#7
0
文件: test_conf.py 项目: nyccto/mrjob
 def test_combine_paths(self):
     self.assertEqual(combine_paths("~/tmp", "/tmp/$USER", None), "/tmp/foo")
     self.assertEqual(combine_paths("~/tmp", "/tmp/$USER", ""), "")
示例#8
0
 def test_combine_paths(self):
     assert_equal(combine_paths('~/tmp', '/tmp/$USER', None), '/tmp/foo')
     assert_equal(combine_paths('~/tmp', '/tmp/$USER', ''), '')
示例#9
0
 def test_combine_paths_empty(self):
     assert_equal(combine_paths(), None)