Skip to content

Commit

Permalink
fixed Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
olech2412 committed Aug 18, 2022
1 parent 8375437 commit a11518b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/Test_essensGetter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ def test_fetch_food_category(self):
self.assertIsNot(essensGetter.fetch_food_category(), None)
self.assertIsNot(essensGetter.fetch_food_category(), [])
self.assertGreater(len(essensGetter.fetch_food_category()), 0)
self.assertLess(len(essensGetter.fetch_food_category()), 3)

def test_fetch_food(self):
self.assertIsNot(essensGetter.fetch_food(), None)
self.assertIsNot(essensGetter.fetch_food(), [])
self.assertGreater(len(essensGetter.fetch_food()), 0)
self.assertLess(len(essensGetter.fetch_food()), 5)


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion tests/Test_formatting.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
import utils.formatting as formatting
import utils.essensGetter as essensGetter
import essensGetter

class Test_formatting(unittest.TestCase):

Expand Down

0 comments on commit a11518b

Please sign in to comment.