'Create all test preferences in the database'

def create_prefs(self):

    for (user, token) in self.tokens.items():
        UserPreference.objects.create(user=user, key=NOTIFICATION_PREF_KEY, value=token)
