コード例 #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)