kyegomez / swarms-cloud

Deploy your autonomous agents to production grade environments with 99% Uptime Guarantee, Infinite Scalability, and self-healing.
https://discord.gg/GYbXvDGevY
MIT License
22 stars 9 forks source link

[BUG] pytest-benchmark needs to be added to requirements #11

Open evelynmitchell opened 7 months ago

evelynmitchell commented 7 months ago

From within a container, python 3.10.13

pytest test_api_generator.py 
================================ test session starts ================================
platform linux -- Python 3.10.13, pytest-7.4.3, pluggy-1.3.0
rootdir: /usr/src/swarm_cloud/tests
plugins: time-machine-2.13.0, anyio-3.7.1
collected 18 items                                                                  

test_api_generator.py F...F...EF.F.F...F                                      [100%]

====================================== ERRORS =======================================
________________ ERROR at setup of test_generate_api_key_performance ________________
file /usr/src/swarm_cloud/tests/test_api_generator.py, line 54
  def test_generate_api_key_performance(benchmark):
E       fixture 'benchmark' not found
>       available fixtures: anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, time_machine, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
>       use 'pytest --fixtures [testpath]' for help on them.

Upvote & Fund

Fund with Polar

github-actions[bot] commented 7 months ago

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.