import json
import unittest
import pytest
import pricing.api as api


def client():
    api.app.config['TESTING'] = True
    return api.app.test_client()


class APITest(unittest.TestCase):

    def test_pricing_endpoint(self):
        res = client().get('/pricing')
        assert res.status_code == 200
        assert json.loads(res.data) == {'msg': 'hello'}

de7371d8c9d77999173ea3ed2d2902c50ce3548b
<mask token>


class APITest(unittest.TestCase):
    <mask token>

<mask token>


class APITest(unittest.TestCase):

    def test_pricing_endpoint(self):
        res = client().get('/pricing')
        assert res.status_code == 200
        assert json.loads(res.data) == {'msg': 'hello'}

<mask token>


def client():
    api.app.config['TESTING'] = True
    return api.app.test_client()


class APITest(unittest.TestCase):

    def test_pricing_endpoint(self):
        res = client().get('/pricing')
        assert res.status_code == 200
        assert json.loads(res.data) == {'msg': 'hello'}

import json
import unittest
import pytest
import pricing.api as api


def client():
    api.app.config['TESTING'] = True
    return api.app.test_client()


class APITest(unittest.TestCase):

    def test_pricing_endpoint(self):
        res = client().get('/pricing')
        assert res.status_code == 200
        assert json.loads(res.data) == {'msg': 'hello'}
