<commit_before>#!/usr/bin/env python
"""
Tests for Screenshooter class.
"""

import unittest
from imgurshot import client

class TestClient(unittest.TestCase):

    def setUp(self):
        self.imgur_app_id = '424c87cf63c1515'
        self.image_path = 'images/tuxedo-cat.jpg'

        self.client = client.Client(self.imgur_app_id)

    def test_upload(self):
        uploaded_img = self.client._upload(self.image_path)<commit_msg>test client: correct test image path<commit_after>#!/usr/bin/env python
"""
Tests for Screenshooter class.
"""

import unittest

from imgurshot import client


class TestClient(unittest.TestCase):

    def setUp(self):
        self.imgur_app_id = '424c87cf63c1515'
        self.image_path = 'tests/images/tuxedo-cat.jpg'

        self.client = client.Client(self.imgur_app_id)

    def test_upload(self):
        uploaded_img = self.client._upload(self.image_path)
{'fraction_non_alphanumeric': 0.10925306577480491, 'fraction_numerical': 0.024526198439241916, 'mean_word_length': 3.6528497409326426, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4585848', 'n_tokens_mistral': 323, 'n_tokens_neox': 298, 'n_words': 56}