import unittest
from _8a_scraper.ascents import get_ascents


class TestAscents(unittest.TestCase):

    def test_get_ascents(self):
        climbers = get_ascents('Midnight Lightning', 'bouldering')
        expectedKeys = ['userAvatar', 'userName', 'userSlug', 'date',
            'difficulty', 'isHard', 'isEasy', 'type', 'notes', 'rating',
            'userPrivate', 'firstAscent', 'secondGo']
        self.assertListEqual(list(climbers[0].keys()), expectedKeys)


if __name__ == '__main__':
    unittest.main()

fdbc601894adfac437f2ef89e44b2fa24f2499ae
<mask token>


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


<mask token>

<mask token>


class TestAscents(unittest.TestCase):

    def test_get_ascents(self):
        climbers = get_ascents('Midnight Lightning', 'bouldering')
        expectedKeys = ['userAvatar', 'userName', 'userSlug', 'date',
            'difficulty', 'isHard', 'isEasy', 'type', 'notes', 'rating',
            'userPrivate', 'firstAscent', 'secondGo']
        self.assertListEqual(list(climbers[0].keys()), expectedKeys)


<mask token>

<mask token>


class TestAscents(unittest.TestCase):

    def test_get_ascents(self):
        climbers = get_ascents('Midnight Lightning', 'bouldering')
        expectedKeys = ['userAvatar', 'userName', 'userSlug', 'date',
            'difficulty', 'isHard', 'isEasy', 'type', 'notes', 'rating',
            'userPrivate', 'firstAscent', 'secondGo']
        self.assertListEqual(list(climbers[0].keys()), expectedKeys)


if __name__ == '__main__':
    unittest.main()

import unittest
from _8a_scraper.ascents import get_ascents


class TestAscents(unittest.TestCase):

    def test_get_ascents(self):
        climbers = get_ascents('Midnight Lightning', 'bouldering')
        expectedKeys = ['userAvatar', 'userName', 'userSlug', 'date',
            'difficulty', 'isHard', 'isEasy', 'type', 'notes', 'rating',
            'userPrivate', 'firstAscent', 'secondGo']
        self.assertListEqual(list(climbers[0].keys()), expectedKeys)


if __name__ == '__main__':
    unittest.main()
