{"action":"created","issue":{"url":"https://api.github.com/repos/ameetrivedi/bocado/issues/7","labels_url":"https://api.github.com/repos/ameetrivedi/bocado/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ameetrivedi/bocado/issues/7/comments","events_url":"https://api.github.com/repos/ameetrivedi/bocado/issues/7/events","html_url":"https://github.com/ameetrivedi/bocado/issues/7","id":53553613,"number":7,"title":"sizable chunk 1: test with a \"real\" application that will take a load","user":{"login":"etosch","id":508630,"avatar_url":"https://avatars.githubusercontent.com/u/508630?v=3","gravatar_id":"","url":"https://api.github.com/users/etosch","html_url":"https://github.com/etosch","followers_url":"https://api.github.com/users/etosch/followers","following_url":"https://api.github.com/users/etosch/following{/other_user}","gists_url":"https://api.github.com/users/etosch/gists{/gist_id}","starred_url":"https://api.github.com/users/etosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etosch/subscriptions","organizations_url":"https://api.github.com/users/etosch/orgs","repos_url":"https://api.github.com/users/etosch/repos","events_url":"https://api.github.com/users/etosch/events{/privacy}","received_events_url":"https://api.github.com/users/etosch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-06T19:37:35Z","updated_at":"2015-01-24T23:48:10Z","closed_at":"2015-01-24T23:48:10Z","body":"We could try setting up Django and simulate getting a lot of requests and the look at things like page load time as we sample values."},"comment":{"url":"https://api.github.com/repos/ameetrivedi/bocado/issues/comments/71343399","html_url":"https://github.com/ameetrivedi/bocado/issues/7#issuecomment-71343399","issue_url":"https://api.github.com/repos/ameetrivedi/bocado/issues/7","id":71343399,"user":{"login":"etosch","id":508630,"avatar_url":"https://avatars.githubusercontent.com/u/508630?v=3","gravatar_id":"","url":"https://api.github.com/users/etosch","html_url":"https://github.com/etosch","followers_url":"https://api.github.com/users/etosch/followers","following_url":"https://api.github.com/users/etosch/following{/other_user}","gists_url":"https://api.github.com/users/etosch/gists{/gist_id}","starred_url":"https://api.github.com/users/etosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etosch/subscriptions","organizations_url":"https://api.github.com/users/etosch/orgs","repos_url":"https://api.github.com/users/etosch/repos","events_url":"https://api.github.com/users/etosch/events{/privacy}","received_events_url":"https://api.github.com/users/etosch/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T23:48:10Z","updated_at":"2015-01-24T23:48:10Z","body":"```\r\n    from bocado import value_sampler\r\n    from bocado import output\r\n    sys.settrace(value_sampler.get_fn_arg_values)\r\n\r\n    if options.bisect:\r\n        bisect_tests(options.bisect, options, options.modules)\r\n    elif options.pair:\r\n        paired_tests(options.pair, options, options.modules)\r\n    else:\r\n        failures = django_tests(options.verbosity, options.interactive,\r\n                                options.failfast, options.keepdb,\r\n                                options.reverse, options.modules,\r\n                                options.debug_sql)\r\n        if failures:\r\n            sys.exit(bool(failures))\r\n\r\n    sys.settrace(None)\r\n\r\n    import traceback\r\n    sys.path = [\"/usr/local/lib/python2.7/site-packages\"]\r\n    with open(\"EMMA_bocado_django.txt\", \"a\") as f:\r\n        try:\r\n            output.pretty_print_types(stream=f)\r\n        except:\r\n            tb = traceback.format_exc()\r\n        else:\r\n            tb = \"No error\"\r\n        finally:\r\n            print tb\r\n```\r\n\r\nNow it runs with no errors."}}