Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Failing test in deform: test_deserialize_file_selected _with_previous_file_IE_whole_p ath
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Damien Baty  
View profile   Translate to Translated (View Original)
 More options Aug 23 2012, 3:35 am
From: Damien Baty <dam...@damienbaty.com>
Date: Thu, 23 Aug 2012 09:35:23 +0200
Local: Thurs, Aug 23 2012 3:35 am
Subject: Failing test in deform: test_deserialize_file_selected_with_prev ious_file_IE_whole_path
    Hello,

  I am getting a failing test in the "master" branch of "deform":

--- 8< ---
FAIL: test_deserialize_file_selected_with_previous_file_IE_whole_path
(deform.tests.test_widget.TestFileUploadWidget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/damien/dev/deform-upstream/deform/tests/test_widget.py",
line 1052, in
test_deserialize_file_selected_with_previous_file_IE_whole_path
    self.assertEqual(result['preview_url'], 'http://localhost/filename')
AssertionError: 'http://localhost/baz.pt' != 'http://localhost/filename'
--- 8< ---

Jenkins gets it too: http://jenkins.pylonsproject.org/job/deform/

The failure seems to come from a bug in the test itself: contrary to
other test methods in this test case, the filename is set to something
other than "filename" so, obviously, we don't get
"http://localhost/filename" as the preview URL.

On the other hand, this test has been failing since June so perhaps it
is intended to exhibit a bug in "deform" (although it does not look like
it). Any idea?

Cheers,

--
Damien Baty


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris McDonough  
View profile   Translate to Translated (View Original)
 More options Aug 23 2012, 12:19 pm
From: Chris McDonough <chr...@plope.com>
Date: Thu, 23 Aug 2012 12:19:03 -0400
Local: Thurs, Aug 23 2012 12:19 pm
Subject: Re: Failing test in deform: test_deserialize_file_selected_with_prev ious_file_IE_whole_path
On 08/23/2012 03:35 AM, Damien Baty wrote:

I see the same failure.

Git blame tells me:

aed3f211 (Tom Lazar        2012-06-18 21:13:18 +0200 1052)
self.assertEqual(result['preview_url'], 'http://localhost/filename')

Not entirely sure what's trying to be tested there, but I just made the
actual result match the expected and now the tests pass.

- C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »