<filename>tests/test_pyuhooair_auth.py
# -*- coding: utf-8 -*-
"""
This module is used for testing the functions within the pyawair.data module.
"""

from unittest import TestCase
from pyuhooair.auth import *
import os
try:
    email = os.environ['email']
    password = os.environ['password']


import vcr
my_vcr = vcr.VCR(
    serializer='json',
    cassette_library_dir='./test_pyhpecfm/fixtures/cassettes',
    record_mode='new_episodes',
    match_on=['uri', 'method'],
)

class TestCreateuHooAuthObject(TestCase):
    """
    Test Case for pyawair.data get_current_air_data function
    """

    def test_create_uHooAUTH(self):
        """
        """
        auth = UhooAuth(email, password)
        self.assertEqual(auth.email, email)
<filename>tests/test_pyuhooair_auth.py
# -*- coding: utf-8 -*-
"""
This module is used for testing the functions within the pyawair.data module.
"""

from unittest import TestCase
from pyuhooair.auth import *
import os
try:
    email = os.environ['email']
    password = os.environ['password']


import vcr
my_vcr = vcr.VCR(
    serializer='json',
    cassette_library_dir='./test_pyhpecfm/fixtures/cassettes',
    record_mode='new_episodes',
    match_on=['uri', 'method'],
)

class TestCreateuHooAuthObject(TestCase):
    """
    Test Case for pyawair.data get_current_air_data function
    """

    def test_create_uHooAUTH(self):
        """
        """
        auth = UhooAuth(email, password)
        self.assertEqual(auth.email, email)
# -*- coding: utf-8 -*- This module is used for testing the functions within the pyawair.data module. Test Case for pyawair.data get_current_air_data function