461bb39fbdd9f49ff21a6be038ffbd2e7ae622b0,tests/python/pants_test/android/test_android_distribution.py,TestAndroidDistribution,test_sdk_path_is_none,#TestAndroidDistribution#,96

Before Change



  def test_sdk_path_is_none(self):
    with self.assertRaises(AndroidDistribution.DistributionError):
      with self.env() as sdk:
        AndroidDistribution.cached(sdk)

  def test_validate_bad_path(self):
    // The SDK path is not validated until the tool is registered.
    sdk = os.path.join("/no", "sdk", "here")
    android_sdk = AndroidDistribution.cached(sdk)

After Change


  def test_sdk_path_is_none(self):
    with self.env() as sdk:
      with self.assertRaises(AndroidDistribution.DistributionError):
        AndroidDistribution.cached(sdk)

  def test_validate_bad_path(self):
    // The SDK path is not validated until the tool is registered.
    sdk = os.path.join("/no", "sdk", "here")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 461bb39fbdd9f49ff21a6be038ffbd2e7ae622b0
Time: 2015-07-30
Author: mateorod9@gmail.com
File Name: tests/python/pants_test/android/test_android_distribution.py
Class Name: TestAndroidDistribution
Method Name: test_sdk_path_is_none


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: tests/python/pants_test/java/distribution/test_distribution.py
Class Name: LiveDistributionTest
Method Name: test_validate_live


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: tests/python/pants_test/java/distribution/test_distribution.py
Class Name: LiveDistributionTest
Method Name: test_validate_live_jdk