This works for me. source ~/dtest/bin/activate pytest --cassandra-dir=/Users/mick/src/apache/cassandra jmx_test.py::TestJMX::test_netstats
What's the output of pytest --help Are you in the cassandra-dtest directory when running pytest? On Sun, 9 Jan 2022 at 12:33, Manish G <manish.c.ghildi...@gmail.com> wrote: > > Initial installation is done following > https://github.com/apache/cassandra-dtest#python-dependencies. > > > On Sun, Jan 9, 2022 at 11:43 AM Manish G <manish.c.ghildi...@gmail.com> wrote: >> >> I am trying to run pytest command : >> >>> (dtest) manish.ghildiyal@MacBook-Pro-3 cassandra % pytest >>> --cassandra-dir=/Users/....../cassandra >> >> >> But I get error as: >> >>> pytest: error: unrecognized arguments: >>> --cassandra-dir=/Users/...../cassandra >> >> >> I have done initial installation following this. >> >> Do I need to do any more configuration? >> >> Manish