Skip to content

Instantly share code, notes, and snippets.

😍
Mangling pyton-schema

Drachenfels

😍
Mangling pyton-schema
  • London
Block or report user

Report or block Drachenfels

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View example.py
def _set_image(self, obj, kwargs):
'''Should not directly be used, but sets a relation on a model
if an image key appears in kwargs'''
# sanity check
if 'image' not in kwargs:
return obj, kwargs
# look for image, or set as none
if kwargs['image']:
View Nested with test_step
This file has been truncated, but you can view the full file.
[2014-05-01 17:35:40.330040 +0100] stbt-run: Arguments:
[2014-05-01 17:35:40.330139 +0100] control: lirc:8700:humax
[2014-05-01 17:35:40.330153 +0100] args: []
[2014-05-01 17:35:40.330162 +0100] verbose: 1
[2014-05-01 17:35:40.330172 +0100] source_pipeline: decklinksrc mode=720p50 connection=component subdevice=0 ! videoscale ! video/x-raw-yuv, width=1280, height=720
[2014-05-01 17:35:40.330181 +0100] script: /home/drachenfels/Projects/uitests/test_team/play_content_from_demand_5/test.py
[2014-05-01 17:35:40.330190 +0100] restart_source: False
[2014-05-01 17:35:40.330201 +0100] sink_pipeline: fakesink sync=false
[2014-05-01 17:35:40.330210 +0100] save_video: video.webm
View Stack trace with one test_step
This file has been truncated, but you can view the full file.
[2014-05-01 17:24:17.261509 +0100] stbt-run: Arguments:
[2014-05-01 17:24:17.261608 +0100] control: lirc:8700:humax
[2014-05-01 17:24:17.261622 +0100] args: []
[2014-05-01 17:24:17.261631 +0100] verbose: 1
[2014-05-01 17:24:17.261641 +0100] source_pipeline: decklinksrc mode=720p50 connection=component subdevice=0 ! videoscale ! video/x-raw-yuv, width=1280, height=720
[2014-05-01 17:24:17.261650 +0100] script: /home/drachenfels/Projects/uitests/test_team/play_content_from_demand_5/test.py
[2014-05-01 17:24:17.261659 +0100] restart_source: False
[2014-05-01 17:24:17.261669 +0100] sink_pipeline: fakesink sync=false
[2014-05-01 17:24:17.261679 +0100] save_video: video.webm
View Original stack trace
This file has been truncated, but you can view the full file.
[2014-05-01 15:10:53.272945 +0100] stbt-run: Arguments:
[2014-05-01 15:10:53.273045 +0100] control: lirc:8700:humax
[2014-05-01 15:10:53.273058 +0100] args: []
[2014-05-01 15:10:53.273067 +0100] verbose: 1
[2014-05-01 15:10:53.273076 +0100] source_pipeline: decklinksrc mode=720p50 connection=component subdevice=0 ! videoscale ! video/x-raw-yuv, width=1280, height=720
[2014-05-01 15:10:53.273085 +0100] script: /home/drachenfels/Projects/uitests/test_team/play_content_from_demand_5/test.py
[2014-05-01 15:10:53.273094 +0100] restart_source: False
[2014-05-01 15:10:53.273104 +0100] sink_pipeline: fakesink sync=false
[2014-05-01 15:10:53.273113 +0100] save_video: video.webm
View gist:f3490c8837208a47a51b
This file has been truncated, but you can view the full file.
[2014-05-01 17:35:40.330040 +0100] stbt-run: Arguments:
[2014-05-01 17:35:40.330139 +0100] control: lirc:8700:humax
[2014-05-01 17:35:40.330153 +0100] args: []
[2014-05-01 17:35:40.330162 +0100] verbose: 1
[2014-05-01 17:35:40.330172 +0100] source_pipeline: decklinksrc mode=720p50 connection=component subdevice=0 ! videoscale ! video/x-raw-yuv, width=1280, height=720
[2014-05-01 17:35:40.330181 +0100] script: /home/drachenfels/Projects/uitests/test_team/play_content_from_demand_5/test.py
[2014-05-01 17:35:40.330190 +0100] restart_source: False
[2014-05-01 17:35:40.330201 +0100] sink_pipeline: fakesink sync=false
[2014-05-01 17:35:40.330210 +0100] save_video: video.webm
You can’t perform that action at this time.