def test_parse_get_varialble(self):
     test_file = self.get_test_loc('conda/meta.yaml')
     results = conda.get_variables(test_file)
     assert results == dict([
         (u'version', u'0.45.0'),
         (u'sha256',
          u'bc7512f2eef785b037d836f4cc6faded457ac277f75c6e34eccd12da7c85258f'
          )
     ])
예제 #2
0
 def test_parse_get_varialble(self):
     test_file = self.get_test_loc('conda/meta.yaml')
     results = conda.get_variables(test_file)
     expected = {
         'version':
         '0.45.0',
         'sha256':
         'bc7512f2eef785b037d836f4cc6faded457ac277f75c6e34eccd12da7c85258f',
     }
     assert results == expected