<filename>tests/test_steptwo_profile.py
# coding: utf-8

from flask import url_for
from conduit.exceptions import USER_NOT_FOUND


def _register_user(testapp, **kwargs):
    return testapp.post_json(url_for('user.register_user'), {
          "user": {
              "email": '<EMAIL>',
              "username": 'foobar',
              "password": '<PASSWORD>'
          }}, **kwargs)


class TestProfile:

    None

<filename>tests/test_steptwo_profile.py
# coding: utf-8

from flask import url_for
from conduit.exceptions import USER_NOT_FOUND


def _register_user(testapp, **kwargs):
    return testapp.post_json(url_for('user.register_user'), {
          "user": {
              "email": '<EMAIL>',
              "username": 'foobar',
              "password": '<PASSWORD>'
          }}, **kwargs)


class TestProfile:

    None

# coding: utf-8