-
why nest another package.json / node_modules dir in
test
?- should use devDependencies and NODE_ENV=production to avoid loading tests
-
test/test/mocha.opts
could probably just be intest/mocha.opts
-
forking the server and forwarding args might not be needed
- as does the need for a Q deferred
- exporting the server and starting / stopping in the same proc as part of the test run should be fine
-
before / after can both take
done
args, be async -
as called out by the comment in test_classifier, there's some really nasty stuff going on because of this
This file contains 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
or: 'AnonymousUser' object has no attribute 'user' | |
[2014-04-04 17:22:52,462] ERROR django.request - Internal Server Error: /ajax/accounts/plan/list.json | |
Traceback (most recent call last): | |
File "/Users/sam/dev/sprintly/sprint.ly/src/django-ajax/ajax/decorators.py", line 61, in json_response | |
result = f(*args, **kwargs) | |
File "/Users/sam/dev/sprintly/sprint.ly/src/django-ajax/ajax/views.py", line 60, in endpoint_loader | |
data = endpoint(request) | |
File "/Users/sam/dev/sprintly/sprint.ly/src/django-ajax/ajax/endpoints.py", line 92, in list | |
objects = self.get_queryset(request.user) | |
File "/Users/sam/dev/sprintly/sprint.ly/snowbird/apps/accounts/endpoints.py", line 228, in get_queryset |
This file contains 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
sam@daedalus: ~/dev/sprintly/sprint.ly ± [master] ✖ | |
∴ ./snowbird/manage.py test functional 06/11/14 - 16:10:19 | |
Tracelytics Oboe warning: module not built on a platform with liboboe and liboboe-dev installed, running in no-op mode. Tracing disabled. Contact traceviewsupport@appneta.com if this is unexpected. | |
[2014-06-11 22:10:29,895] ERROR oboe - Tracelytics Oboe warning: module not built on a platform with liboboe and liboboe-dev installed, running in no-op mode. Tracing disabled. Contact traceviewsupport@appneta.com if this is unexpected. | |
RUM initialization: couldn't read /etc/tracelytics.conf (No such file or directory). RUM will be disabled unless oboe.config['access_key'] is set. | |
[2014-06-11 22:10:29,896] WARNING oboe - RUM initialization: couldn't read /etc/tracelytics.conf (No such file or directory). RUM will be disabled unless oboe.config['access_key'] is set. | |
Creating test datab |
This file contains 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
var _ = require('underscore'); | |
var $ = require('jquery'); | |
var ReqMgr = function() {}; | |
ReqMgr.prototype.ajax = function(options){ | |
options = _.defaults(options || {}, { | |
// default options hurr | |
}) | |
return $.ajax(options) | |
} |
This file contains 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
[ | |
{ | |
"notes": "Just name it.", | |
"roundNumber": null, | |
"roundTitle": "Four-Letter Words", | |
"roundType": "Theme Round", | |
"round_id": 11628, | |
"state": "Imported", | |
"user_id": 30, | |
"virtual_round_eight": null |
Currently there are several changes to Motherbrain needed to accomodate the mobile and Quizmaster applications.
During the course of a quiz, it's necessary for the mobile app and Quizmaster dashboard to be able to determine the type of Round being played.
These are the following round types:
I hereby claim:
- I am wookiehangover on github.
- I am sambreed (https://keybase.io/sambreed) on keybase.
- I have a public key whose fingerprint is 6461 3818 B282 1034 BC96 E5F9 D6B1 6FE4 4DDF 6046
To claim this, I am signing this object:
This file contains 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
[ | |
{ | |
"status": "backlog", | |
"product": { | |
"archived": false, | |
"id": 1, | |
"name": "sprint.ly" | |
}, | |
"progress": { | |
"accepted_at": "2013-06-14T22:52:07+00:00", |
OlderNewer