mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 13:26:30 +01:00
remove extraneous periods
in order to run subfolders of tests, you should not include the . (ex: .world.tests etc), so I have removed it from the relevant lines
This commit is contained in:
parent
f6c3f31198
commit
44a76dd44e
1 changed files with 5 additions and 5 deletions
|
|
@ -43,7 +43,7 @@ forces Evennia to use this settings file over the default one.
|
|||
|
||||
You can also test specific things by giving their path
|
||||
|
||||
evennia test --settings settings.py .world.tests.YourTest
|
||||
evennia test --settings settings.py world.tests.YourTest
|
||||
|
||||
|
||||
## Writing new unit tests
|
||||
|
|
@ -106,15 +106,15 @@ To test this, run
|
|||
|
||||
to run the entire test module
|
||||
|
||||
evennia test --settings setings.py .world.tests
|
||||
evennia test --settings setings.py world.tests
|
||||
|
||||
or a specific class:
|
||||
|
||||
evennia test --settings settings.py .world.tests.TestObj
|
||||
evennia test --settings settings.py world.tests.TestObj
|
||||
|
||||
You can also run a specific test:
|
||||
|
||||
evennia test --settings settings.py .world.tests.TestObj.test_alternative_call
|
||||
evennia test --settings settings.py world.tests.TestObj.test_alternative_call
|
||||
|
||||
You might also want to read the [Python documentation for the unittest module](https://docs.python.org/library/unittest.html).
|
||||
|
||||
|
|
@ -303,4 +303,4 @@ After doing so, you can then run tests without migrations by adding the `--nomig
|
|||
|
||||
```
|
||||
evennia test --settings settings.py --nomigrations .
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue