Skip to content

Commit

Permalink
testing venv
Browse files Browse the repository at this point in the history
  • Loading branch information
BaakhOfficial committed Mar 11, 2024
1 parent 6fedd63 commit fee68a4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion berrylib/wb_shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pandas as pd

class WbShop:
"""
"""pip
That class represents your shop that you have on Wildberries
"""
def __init__(self, api_key = '0', name = 'Shop', test = False) -> None:
Expand Down
13 changes: 11 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
requests
pandas
certifi==2024.2.2
charset-normalizer==3.3.2
idna==3.6
numpy==1.26.4
pandas==2.2.1
python-dateutil==2.9.0.post0
pytz==2024.1
requests==2.31.0
six==1.16.0
tzdata==2024.1
urllib3==2.2.1
4 changes: 2 additions & 2 deletions tests/test_WbShop.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import unittest
from unittest.mock import patch
from berrylib.wb_shop import WbShop
from ..berrylib import wb_shop
import datetime

class TestWbShop(unittest.TestCase):

test_shop = WbShop(test=True)
test_shop = wb_shop.WbShop(test=True)

def test_get_last_week(self):
self.assertIsNotNone(self.test_shop.get_last_week()[0])
Expand Down

0 comments on commit fee68a4

Please sign in to comment.