Skip to content

Commit

Permalink
Reduce the size of the df for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
esloch committed Dec 5, 2023
1 parent fdac834 commit 6b29ce2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pysus/tests/test_data/test_Infodengue.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import unittest
import pytest

import pandas as pd
from pysus.online_data.Infodengue import (
download,
search_string,
normalize,
)
import pytest
from pysus.online_data.Infodengue import download, normalize, search_string


class InfoDengueTestCase(unittest.TestCase):
Expand Down Expand Up @@ -91,11 +87,11 @@ def test_normalize(self):
def test_download(self):
df = download(
"dengue",
202101,
202129,
202152,
"Rio de Janeiro",
)
df_size = (29, 52)
df_size = (29, 24)

self.assertIsInstance(df, pd.DataFrame)
self.assertGreater(len(df), 0)
Expand Down

0 comments on commit 6b29ce2

Please sign in to comment.