Advertisement
Guest User

Untitled

a guest
Sep 1st, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.91 KB | None | 0 0
  1. (sandbox)master@winterfell:~/github/wouso/wouso$ ./manage.py test magic
  2. nosetests --verbosity 1 magic --cover-package=wouso --with-xunit
  3. Creating test database for alias 'default'...
  4. E
  5. ======================================================================
  6. ERROR: Failure: ImportError (No module named magic)
  7. ----------------------------------------------------------------------
  8. Traceback (most recent call last):
  9. File "/home/master/github/wouso/sandbox/local/lib/python2.7/site-packages/nose/loader.py", line 379, in loadTestsFromName
  10. module = resolve_name(addr.module)
  11. File "/home/master/github/wouso/sandbox/local/lib/python2.7/site-packages/nose/util.py", line 321, in resolve_name
  12. module = __import__('.'.join(parts_copy))
  13. ImportError: No module named magic
  14. -------------------- >> begin captured logging << --------------------
  15. south: DEBUG: execute "CREATE TABLE "workshop_schedule" ("tag_ptr_id" integer NOT NULL PRIMARY KEY, "start_date" date NOT NULL, "end_date" date NOT NULL, "count" integer NOT NULL)" with params "[]"
  16. south: DEBUG: execute "CREATE TABLE "workshop_workshopplayer" ("player_ptr_id" integer NOT NULL PRIMARY KEY)" with params "[]"
  17. south: DEBUG: execute "CREATE TABLE "workshop_semigroup" ("playergroup_ptr_id" integer NOT NULL PRIMARY KEY, "day" integer NOT NULL, "hour" integer NOT NULL, "room" varchar(5) NOT NULL)" with params "[]"
  18. south: DEBUG: execute "CREATE UNIQUE INDEX "workshop_semigroup_day__hour__room" ON "workshop_semigroup"("day", "hour", "room");" with params "[]"
  19. south: DEBUG: execute "CREATE TABLE "workshop_workshop" ("id" integer NOT NULL PRIMARY KEY, "semigroup_id" integer NOT NULL, "date" date NOT NULL, "title" varchar(128) NOT NULL, "start_at" datetime NULL, "active_until" datetime NULL, "status" integer NOT NULL, "question_count" integer NOT NULL)" with params "[]"
  20. south: DEBUG: execute "CREATE TABLE "workshop_assessment" ("id" integer NOT NULL PRIMARY KEY, "workshop_id" integer NOT NULL, "player_id" integer NOT NULL, "answered" bool NOT NULL, "time_start" datetime NOT NULL, "time_end" datetime NULL, "grade" integer NULL, "reviewer_grade" integer NULL, "final_grade" integer NULL)" with params "[]"
  21. south: DEBUG: execute "CREATE TABLE "workshop_assessment_questions" ("id" integer NOT NULL PRIMARY KEY, "assessment_id" integer NOT NULL, "question_id" integer NOT NULL)" with params "[]"
  22. south: DEBUG: execute "CREATE UNIQUE INDEX "workshop_assessment_questions_assessment_id__question_id" ON "workshop_assessment_questions"("assessment_id", "question_id");" with params "[]"
  23. south: DEBUG: execute "CREATE TABLE "workshop_assessment_reviewers" ("id" integer NOT NULL PRIMARY KEY, "assessment_id" integer NOT NULL, "player_id" integer NOT NULL)" with params "[]"
  24. south: DEBUG: execute "CREATE UNIQUE INDEX "workshop_assessment_reviewers_assessment_id__player_id" ON "workshop_assessment_reviewers"("assessment_id", "player_id");" with params "[]"
  25. south: DEBUG: execute "CREATE TABLE "workshop_answer" ("id" integer NOT NULL PRIMARY KEY, "assessment_id" integer NOT NULL, "question_id" integer NOT NULL, "text" text NOT NULL, "grade" integer NULL)" with params "[]"
  26. south: DEBUG: execute "CREATE TABLE "workshop_review" ("id" integer NOT NULL PRIMARY KEY, "answer_id" integer NOT NULL, "reviewer_id" integer NOT NULL, "feedback" text NULL, "answer_grade" integer NULL, "review_reviewer_id" integer NULL, "review_grade" integer NULL)" with params "[]"
  27. south: DEBUG: execute "CREATE INDEX "workshop_workshop_e7c3181e" ON "workshop_workshop" ("semigroup_id");" with params "[]"
  28. south: DEBUG: execute "CREATE INDEX "workshop_assessment_1e9258b" ON "workshop_assessment" ("workshop_id");" with params "[]"
  29. south: DEBUG: execute "CREATE INDEX "workshop_assessment_ea2d1965" ON "workshop_assessment" ("player_id");" with params "[]"
  30. south: DEBUG: execute "CREATE INDEX "workshop_assessment_questions_c168f2dc" ON "workshop_assessment_questions" ("assessment_id");" with params "[]"
  31. south: DEBUG: execute "CREATE INDEX "workshop_assessment_questions_1f92e550" ON "workshop_assessment_questions" ("question_id");" with params "[]"
  32. south: DEBUG: execute "CREATE INDEX "workshop_assessment_reviewers_c168f2dc" ON "workshop_assessment_reviewers" ("assessment_id");" with params "[]"
  33. south: DEBUG: execute "CREATE INDEX "workshop_assessment_reviewers_ea2d1965" ON "workshop_assessment_reviewers" ("player_id");" with params "[]"
  34. south: DEBUG: execute "CREATE INDEX "workshop_answer_c168f2dc" ON "workshop_answer" ("assessment_id");" with params "[]"
  35. south: DEBUG: execute "CREATE INDEX "workshop_answer_1f92e550" ON "workshop_answer" ("question_id");" with params "[]"
  36. south: DEBUG: execute "CREATE INDEX "workshop_review_d36b8b30" ON "workshop_review" ("answer_id");" with params "[]"
  37. south: DEBUG: execute "CREATE INDEX "workshop_review_d0f17e2b" ON "workshop_review" ("reviewer_id");" with params "[]"
  38. south: DEBUG: execute "CREATE INDEX "workshop_review_c23e7e7b" ON "workshop_review" ("review_reviewer_id");" with params "[]"
  39. south: DEBUG: execute "CREATE TABLE "_south_new_workshop_semigroup" ("playergroup_ptr_id" integer PRIMARY KEY, "assistant_id" integer NULL, "day" integer NOT NULL, "hour" integer NOT NULL, "room" varchar(5) NOT NULL)" with params "[]"
  40. south: DEBUG: execute "INSERT INTO "_south_new_workshop_semigroup" ("playergroup_ptr_id", "day", "hour", "room") SELECT "playergroup_ptr_id", "day", "hour", "room" FROM "workshop_semigroup";" with params "[]"
  41. south: DEBUG: execute "DROP TABLE "workshop_semigroup";" with params "[]"
  42. south: DEBUG: execute "ALTER TABLE "_south_new_workshop_semigroup" RENAME TO "workshop_semigroup";" with params "[]"
  43. south: DEBUG: execute "CREATE UNIQUE INDEX "workshop_semigroup_day__hour__room" ON "workshop_semigroup"("day", "hour", "room");" with params "[]"
  44. --------------------- >> end captured logging << ---------------------
  45.  
  46. ----------------------------------------------------------------------
  47. Ran 1 test in 0.001s
  48.  
  49. FAILED (errors=1)
  50. Destroying test database for alias 'default'...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement