Commit History

Autor SHA1 Mensaxe Data
  Amber Brown 77055dba92 Fix tests on postgresql (#3740) %!s(int64=6) %!d(string=hai) anos
  Amber Brown 99dd975dae Run tests under PostgreSQL (#3423) %!s(int64=6) %!d(string=hai) anos
  black 8b3d9b6b19 Run black. %!s(int64=6) %!d(string=hai) anos
  Amber Brown 49af402019 run isort %!s(int64=6) %!d(string=hai) anos
  Richard van der Hoff 63ef607f1f Fix tests for Store.__init__ update %!s(int64=6) %!d(string=hai) anos
  Mark Haines 700487a7c7 Fix flake8 warnings for tests %!s(int64=8) %!d(string=hai) anos
  Matthew Hodgson 6c28ac260c copyrights %!s(int64=8) %!d(string=hai) anos
  Mark Haines 896253e085 Factor out some of the common homeserver setup code into a %!s(int64=9) %!d(string=hai) anos
  Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string %!s(int64=9) %!d(string=hai) anos
  Paul "LeoNerd" Evans bcf5121937 Neaten more of the storage layer tests with assertObjectHasAttributes; more standardisation on test layout %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans ae7dfeb5b6 Use new 'tests.unittest' in new storage level tests %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans 493b1e6d3c Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer constructor, as DataStore's constructor will want it ready %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans dd1a9100c5 Added unit tests for PresenceDataStore too %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans dc7f39677f Remember to kill now-dead import in test_profile.py %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans 08f5c48fc8 Move SQLiteMemoryDbPool implementation into tests.utils %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans 9774949cc9 It's considered polite to actually wait for DB prepare before running tests %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans 53d0f69dc3 Also test avatar_url profile field %!s(int64=10) %!d(string=hai) anos
  Paul "LeoNerd" Evans 6081f4947e Tiny trivial PoC unit-test using SQLite in :memory: mode %!s(int64=10) %!d(string=hai) anos