~nskaggs/juju-ci-tools/add-assess-terms

« back to all changes in this revision

Viewing changes to test_gotesttarfile.py

  • Committer: Martin Packman
  • Date: 2015-04-22 00:38:01 UTC
  • mfrom: (929.1.1 test_win_unbuffer)
  • Revision ID: martin.packman@canonical.com-20150422003801-pawx0yyts800ffrb
More poking on the gotesttarball.py script

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
        self.assertEqual(
97
97
            (['powershell.exe', '-Command', 'go', 'test', './...'], ),
98
98
            args)
99
 
        self.assertEqual(r'C:\foo;C:\baz', kwargs['env'].get('PATH'))
100
 
        self.assertEqual(kwargs['env'].get('Path'), kwargs['env'].get('PATH'))
 
99
        self.assertEqual(r'C:\foo;C:\baz', kwargs['env'].get('Path'))
 
100
        self.assertEqual(None, kwargs['env'].get('PATH'))
101
101
        self.assertEqual(gopath, os.path.dirname(kwargs['env'].get('TMP')))
102
102
        self.assertIn("tmp-juju-", os.path.basename(kwargs['env'].get('TMP')))
103
103
        self.assertEqual(kwargs['env'].get('TEMP'), kwargs['env'].get('TMP'))