Created
April 12, 2011 23:36
-
-
Save andymckay/916684 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/versions/tests.py b/apps/versions/tests.py | |
index fd9fd85..4d86612 100644 | |
--- a/apps/versions/tests.py | |
+++ b/apps/versions/tests.py | |
@@ -647,6 +647,7 @@ class TestSearchVersionFromUpload(TestVersionFromUpload): | |
def test_file_platform_is_always_all(self): | |
version = Version.from_upload(self.upload, self.addon, | |
[self.platform]) | |
+ del version.__dict__['all_files'] | |
files = version.all_files | |
eq_(len(files), 1) | |
eq_(files[0].platform.id, amo.PLATFORM_ALL.id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment