7
891f99d71d
Merge pull request #1475 from tomchristie/asgi-refactor-attempt
...
ASGI refactoring attempt
2019-06-20 16:33:44 -07:00
7
8fbbe94fe1
Merge pull request #1436 from jotagesales/config_from_object_string
...
Config from object string
2019-06-16 16:58:43 -07:00
Adam Hopkins
3685b4de85
Lifespan and code cleanup
2019-06-04 10:58:00 +03:00
Adam Hopkins
ccd4c9615c
Create requests-async based TestClient, remove aiohttp dependency, drop Python 3.5
...
Update all tests to be compatible with requests-async
Cleanup testing client changes with black and isort
Remove Python 3.5 and other meta doc cleanup
rename pyproject and fix pep517 error
Add black config to tox.ini
Cleanup tests and remove aiohttp
tox.ini change for easier development commands
Remove aiohttp from changelog and requirements
Cleanup imports and Makefile
2019-04-30 15:26:06 +03:00
Jotagê Sales
b534df242b
rename config in class in test_config
2019-03-05 14:36:54 -03:00
Jotagê Sales
eacf78b83c
Merge branch 'master' of github.com:huge-success/sanic into config_from_object_string
2019-03-04 00:37:59 -03:00
Harsha Narayana
34fe26e51b
Add Route Resolution Benchmarking to Unit Test ( #1499 )
...
* feat: add benchmark tester for route resolution and cleanup test warnings
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
* feat: refactor sanic benchmark test util into fixtures
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2019-02-28 08:56:41 -06:00
Leonardo Teixeira Menezes
08794ae1cf
Enforce Datetime Type for Expires on Set-Cookie ( #1484 )
...
* Enforce Datetime Type for Expires on Set-Cookie
* Fix lint issues
* Format code and improve error type
* Fix import order
2019-02-06 12:29:33 -06:00
Denis Makogon
eed22a7a24
Fix app.create_server calls
2019-01-15 15:47:35 +02:00
Jotagê Sales
62420e0f40
resolve conflict
2019-01-02 21:19:40 -02:00
Sergey Fedoruk
65daaaf64b
linteger fix and delete old tests
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
a86a10b128
add control of access_log argument type
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
74f05108d7
async test for access_log in create_server
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
9d4d15ddc7
add config tests
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
391fcdc83d
fix access_log in run server and fix bool in env variables
2019-01-02 23:28:05 +01:00
Adam Hopkins
05dd3b2e9d
Run linter
2018-12-30 13:18:06 +02:00
Jotagê Sales
a33ebbaf11
remove dependence and implmented import_string
2018-12-26 21:19:54 -02:00
Jotagê Sales
0b64fe6746
create a documentation for config path
2018-12-26 18:27:02 -02:00
Harsha Narayana
ece3cdaa2e
add unit tests for App Config, Cokkies and Request handler
...
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2018-11-10 16:50:30 +05:30
Hasan Ramezani
9a26030bd5
Change the config test to remove NamedTemporaryFile
2018-10-11 17:34:46 +02:00
Stephen Sadowski
6778f4d9e0
Merge pull request #1342 from hramezani/load_config_file_syntax_error
...
Handle syntax error in load config file.
2018-10-11 08:56:48 -05:00
7
7dc62be5cf
Merge pull request #1335 from abuckenheimer/fix_windows_unittests
...
unittests passing on windows again
2018-10-10 20:15:35 -07:00
Hasan Ramezani
f4c55bbc07
Handle config error in load config file.
2018-10-08 19:17:06 +02:00
Hasan Ramezani
c796d73fc3
Add test for config.from_object
.
2018-10-07 00:14:37 +02:00
Hasan Ramezani
d100f54551
Check error message and fix some lint error in test config.
2018-10-01 20:36:21 +02:00
Alec Buckenheimer
efbacc17cf
unittests passing on windows again
2018-09-29 13:54:47 -04:00
dmitry.dygalo
fec81ffe73
Reuse app fixture in tests
2018-08-26 16:43:14 +02:00
Tim Mundt
9572ecc5ea
test for env var prefix
2017-09-05 10:58:48 +02:00
Raphael Deem
c5b50fe3cf
allow setting config from individual env variables
2017-03-25 17:45:55 -07:00
Tim Mundt
a550b5c112
added tests and small fixes for config
2016-12-16 18:46:07 +01:00