matrix-org / matrix-org/sytest

Synapse setup instructions "python setup.py test" fails

Open
#657 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
81
Forks
63
Avg merge
1h 47m
Merged PRs (30d)
1

Description

In Synapse path, when told to run this:

```
(develop)$ python setup.py test
running test
Synapse's tests cannot be run via setup.py. To run them, try:
PYTHONPATH="." trial tests
```

Readme needs updating or is this a necessary step?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the Synapse setup instructions in the README and reproducing `python setup.py test` in the documented path. Compare its output with `PYTHONPATH="." trial tests`; done means the README accurately explains whether the setup.py step is required and gives the correct test command.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.