Commits

martin.v.loewis  committed 37c83c2 Draft

Fix initial user passwords. Add patch keyword.

  • Participants
  • Parent commits 6235233

Comments (0)

Files changed (1)

File initial_data.py

 resolution.create(name='works for me', order='11')
 
 keyword = db.getclass("keyword")
-#keyword.create(name="patch", description="Contains patch")
+# The patch keyword is needed by the importer
+keyword.create(name="patch", description="Contains patch")
 
 #
 # create the two default users
 user.create(username="anonymous", roles='Anonymous')
 
 # and some test users
-user.create(username="user", password="user", roles="User")
-user.create(username="developer", password="developer", roles="User,Developer")
+user.create(username="user", password=Password("user"), roles="User")
+user.create(username="developer", password=Password("developer"), roles="User,Developer")