0:00 AM
mejymejy has quit
0:02 AM
NotreDev joined the channel
0:02 AM
raydeo
looks fine, just would be nice to have a test case
0:02 AM
I guess you could write one too, whatever
0:02 AM
x58
Good point.
0:02 AM
May remove it from 1.6 at that point.
0:07 AM
Rizy joined the channel
0:10 AM
github joined the channel
0:10 AM
github
0:10 AM
webob/master b8c307f Lucas Taylor: Allow wildcards to be used when comparing a MIMEAccept against an offer...
0:10 AM
webob/master e51a608 Lucas Taylor: Improved test coverage for MIMEAccept wildcard matching
0:10 AM
webob/master 065cf9a Bert JW Regeer: Merge pr '#185' of ltvolks into feature/wildcardMIMEAccept
0:10 AM
github has left the channel
0:12 AM
vyndion joined the channel
0:12 AM
vyndion
'ello
0:13 AM
NotreDev has quit
0:14 AM
kilodalton has quit
0:18 AM
github joined the channel
0:18 AM
github
0:18 AM
webob/master a77d31c Jonatas Oliveira: Using the correct body to be consumed again by decode().
0:18 AM
webob/master 030e266 Bert JW Regeer: Merge pr '183' of jonatasoliveira into bugfix/decode_consumed_stream
0:18 AM
webob/master f4eaf20 Bert JW Regeer: Add CHANGES for Request.decode read from already consumed stream
0:18 AM
github has left the channel
0:27 AM
Rizy has quit
0:29 AM
Rizy joined the channel
0:30 AM
x58
0:31 AM
sakal joined the channel
0:39 AM
keicheux has quit
0:47 AM
github joined the channel
0:47 AM
github
0:47 AM
webob/master 9636005 Alessandro Molina: Avoid escaping environ keys that are not used by WSGIHTTPException body_template
0:47 AM
webob/master 947304d Bert JW Regeer: Merge pr '#139' of amol- into bugfix/lazy_escape
0:47 AM
webob/master a3795d7 Bert JW Regeer: Fix test
0:47 AM
github has left the channel
0:53 AM
Rizy has quit
0:54 AM
pumazi has quit
0:56 AM
Grilinctus joined the channel
0:58 AM
github joined the channel
0:58 AM
0:58 AM
webob/master c606ec2 Bert JW Regeer: Remove comment about str_*
0:58 AM
webob/master a730231 Bert JW Regeer: Remove deprecated str_ and others
0:58 AM
github has left the channel
1:00 AM
mejymejy joined the channel
1:01 AM
github joined the channel
1:01 AM
1:01 AM
webob/master 31620bb Bert JW Regeer: Remove tests for old deprecated features
1:01 AM
github has left the channel
1:01 AM
blaflamme joined the channel
1:04 AM
github joined the channel
1:04 AM
1:04 AM
webob/1.6-branch f756ae4 Bert JW Regeer: Prep 1.6.0a0
1:04 AM
github has left the channel
1:05 AM
mejymejy has quit
1:06 AM
hvelarde has quit
1:08 AM
x58
1:12 AM
vyndion has quit
1:14 AM
kamalgill has quit
1:15 AM
kylestark has quit
1:16 AM
github joined the channel
1:16 AM
github
1:16 AM
webob/1.5-branch 1e50c85 Bert JW Regeer: Fix building on Py32
1:16 AM
github has left the channel
1:17 AM
tiwula has quit
1:19 AM
pmidford2 has quit
1:22 AM
Rizy joined the channel
1:26 AM
Thorn__ joined the channel
1:29 AM
Thorn has quit
1:31 AM
Thorn joined the channel
1:33 AM
Thorn__ has quit
1:40 AM
rtopliffe has quit
1:43 AM
la_cucaraaaatcha has quit
1:47 AM
pmidford2 joined the channel
2:24 AM
Method__
who wants pizza
2:28 AM
mejymejy joined the channel
2:33 AM
mejymejy has quit
2:38 AM
pmidford2 has quit
2:38 AM
Swambo has quit
2:39 AM
rickmak_ joined the channel
2:45 AM
chrisrossi
ooh me
2:47 AM
rickmak_ has quit
2:48 AM
rickmak_ joined the channel
2:49 AM
rickmak_ has quit
2:51 AM
relgar has quit
2:53 AM
relgar joined the channel
2:55 AM
rickmak_ joined the channel
2:55 AM
c0le joined the channel
2:59 AM
hyperknot has quit
3:07 AM
moo-_-
3:16 AM
Method__
pizza py
3:16 AM
hah
3:17 AM
hyperknot joined the channel
3:17 AM
hyperknot has quit
3:31 AM
moo-_-
it's pizza made from snakes
3:33 AM
mejymejy joined the channel
3:34 AM
Method__
lemme give dominos a call, see if its on their menu
3:38 AM
mejymejy has quit
3:42 AM
waigani has quit
4:03 AM
cmaloney has quit
4:06 AM
cmaloney joined the channel
4:31 AM
cewing has quit
4:32 AM
driti joined the channel
4:35 AM
keicheux joined the channel
5:00 AM
dega joined the channel
5:04 AM
dega has quit
5:05 AM
rickmak_ has quit
5:06 AM
zoidfarb joined the channel
5:07 AM
zoidfarb
Is there an easy way to set up pyramid.testing.DummyRequest() to be able to call 'route_path()' and return correct routes? Do I have to feed it my app registry somehow?
5:07 AM
(this is for testing)
5:11 AM
mcdonc
zoidfarb: config = pyramid.testing.setUp(); config.add_route(...)
5:11 AM
zoidfarb
mcdonc: great, thanks! I'll give that a try
5:11 AM
mcdonc
np!
5:15 AM
zoidfarb
mcdonc: It's giving me an error AttributeError: 'DummyRequest' object has no attribute 'queryUtility'
5:15 AM
when I'm trying to call add_route()
5:15 AM
mcdonc
can you paste the traceback to a pastebin
5:16 AM
zoidfarb
yep, one sec
5:16 AM
Jonno_FTW
is it possible to have a key called 'class' in a multidict?
5:17 AM
mcdonc
dunno. is it? ;)
5:17 AM
not sure why it wouldnt be ;)
5:17 AM
Jonno_FTW
doesn't look like it
5:17 AM
I sent: Sending {u'last': 1454044583, u'seen': 2, u'device': u'11beab60cae77dc39af373356912ea35ae3d58651107a8a7695820a6de16eb4f', u'rssi': -174, u'type': u'bluetooth', u'class': u'Phone', u'first': 1454044577}
5:17 AM
the resulting multidict
5:17 AM
zoidfarb
5:18 AM
Jonno_FTW
MultiDict([('last', u'1454044639'), ('seen', u'1'), ('device', u'bae4dbf0e13eb793937727038c367d1a1cc0d859987987751482c16a7209c5df'), ('rssi', u'0'), ('type', u'wifi'), ('first', u'1454044628')])
5:18 AM
or similar I couldn't find the exact one
5:18 AM
actually I see
5:19 AM
mcdonc
Jonno_FTW: i'd suggest trying to track that down via something like pdb, and if that's not possible, maybe add an issue with instructions to reproduce at
https://github.com/Pylons/webob/issues
5:20 AM
Jonno_FTW
mcdonc: I was trying to send an extra field that my server didn't like
5:20 AM
fixed it with request.POST.get('class', None)
5:20 AM
zoidfarb
5:20 AM
rickmak joined the channel
5:22 AM
yep, mcdonc: config = testing.setUp(); config.add_route('confirm_link', '/p/link/confirm'); self.request = testing.DummyRequest()
5:22 AM
seems to work
5:22 AM
mcdonc
hmm, ok.. i dont think i understand what happened during that tb but as long as it works ;)
5:23 AM
zoidfarb
mcdonc: Yeah I don't quite get it, but it seems like you have to set up the config before instantiating your DummyRequest, not after
5:23 AM
mcdonc
but yeah that's definitely a good place to look, the wiki2 tutorial
5:23 AM
zoidfarb
#WhateverWorks
5:23 AM
mcdonc
hmm, ok, that's a divide by zero error to me, but uh.. ok ;))
5:24 AM
rickmak has quit
5:40 AM
goodwill contemplates diving mcdonc by 0
5:46 AM
rickmak joined the channel
5:46 AM
tokra100 joined the channel
5:47 AM
rickmak has quit
5:48 AM
tokra100 has left the channel
5:48 AM
zoidfarb has quit
5:50 AM
Rizy joined the channel
6:01 AM
mejymejy joined the channel
6:04 AM
keicheux joined the channel
6:05 AM
mejymejy has quit
6:24 AM
sakal has quit
6:27 AM
Aankhen`` joined the channel