<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fietsboek/tests/conftest.py, branch climbs</title>
<subtitle>A web-based GPX track tracker</subtitle>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/'/>
<entry>
<title>add tests for fietsctl maintenance-mode</title>
<updated>2026-01-10T15:54:50+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2026-01-10T15:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=3ba5031a74bc0dc7aab16dc8eb349b871c012a1c'/>
<id>3ba5031a74bc0dc7aab16dc8eb349b871c012a1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add tests for journeys</title>
<updated>2025-12-31T00:01:21+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-12-31T00:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=3f6d016a3d5a51bbd3bc9edab1d535df9bcd4fa9'/>
<id>3f6d016a3d5a51bbd3bc9edab1d535df9bcd4fa9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ensure tracks/users folders exist</title>
<updated>2025-12-29T17:24:44+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-12-29T17:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=be903b49006e9fcdcb2d5e73431762411b94df86'/>
<id>be903b49006e9fcdcb2d5e73431762411b94df86</id>
<content type='text'>
Since we don't use parents=True anymore to create the folders (which I
think is good), we now need to ensure that those exist.

So

1. when fietsboek starts up, we create those folders, and
2. when we delete them in the tests, we recreate them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we don't use parents=True anymore to create the folders (which I
think is good), we now need to ensure that those exist.

So

1. when fietsboek starts up, we create those folders, and
2. when we delete them in the tests, we recreate them.
</pre>
</div>
</content>
</entry>
<entry>
<title>add smoke test for pdf generation</title>
<updated>2025-11-29T22:40:49+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-11-29T22:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=0558b2394e17afeb224116bc232ba778f3eee59a'/>
<id>0558b2394e17afeb224116bc232ba778f3eee59a</id>
<content type='text'>
This doesn't check any content of the PDF, but ensures that running
typst does not produce an error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This doesn't check any content of the PDF, but ensures that running
typst does not produce an error.
</pre>
</div>
</content>
</entry>
<entry>
<title>ignore matploblib debug logs in tests</title>
<updated>2025-11-29T22:33:51+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-11-29T22:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=b78c3afa2944691822b90f58a3765eb6d634264b'/>
<id>b78c3afa2944691822b90f58a3765eb6d634264b</id>
<content type='text'>
matplotlib procudes a lot of lines for the font manager, which really
clutter the log output for everything else.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
matplotlib procudes a lot of lines for the font manager, which really
clutter the log output for everything else.
</pre>
</div>
</content>
</entry>
<entry>
<title>close SQL connections in tests</title>
<updated>2025-06-07T22:54:58+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-06-07T22:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=94d295b366420d9b227a6192d66e73ee4c16718b'/>
<id>94d295b366420d9b227a6192d66e73ee4c16718b</id>
<content type='text'>
Otherwise Postgres does not let us drop the tables and hangs forever
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise Postgres does not let us drop the tables and hangs forever
</pre>
</div>
</content>
</entry>
<entry>
<title>also remove user data on test teardown</title>
<updated>2024-04-18T20:30:46+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2024-04-18T20:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=c0b49a618d96f2088234dbb4c0ca8006475d432e'/>
<id>c0b49a618d96f2088234dbb4c0ca8006475d432e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make test app fixture module-scoped</title>
<updated>2023-11-13T17:35:03+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2023-11-13T17:35:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=eac4f7a7f7fec9585a7c080400c4ae8fa9b67578'/>
<id>eac4f7a7f7fec9585a7c080400c4ae8fa9b67578</id>
<content type='text'>
Previously, we had it session-scoped, which meant that the app was
created once for all tests. This doesn't allow us to play with different
settings however, such as disabling account registration or image
uploads and testing that.

Now, the fixtures are module scoped, which means that we still save on
prepare/teardown time a bit, but we're also a bit more flexible. By
making new test modules, we can test different settings there.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, we had it session-scoped, which meant that the app was
created once for all tests. This doesn't allow us to play with different
settings however, such as disabling account registration or image
uploads and testing that.

Now, the fixtures are module scoped, which means that we still save on
prepare/teardown time a bit, but we're also a bit more flexible. By
making new test modules, we can test different settings there.
</pre>
</div>
</content>
</entry>
<entry>
<title>tileproxy: use caplog in the test</title>
<updated>2023-06-29T18:38:30+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2023-06-29T18:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=2efc642f029fee9a5cf0640a766acd3cdf633eba'/>
<id>2efc642f029fee9a5cf0640a766acd3cdf633eba</id>
<content type='text'>
See if it works, it might be handy for other tests in the future as
well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See if it works, it might be handy for other tests in the future as
well.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix isolated running of unit tests</title>
<updated>2023-04-01T11:14:17+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2023-04-01T11:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=78ea2acd5950919ee65960ef8d87359d223a0068'/>
<id>78ea2acd5950919ee65960ef8d87359d223a0068</id>
<content type='text'>
They caused issues because they might not have created the database
tables or the data directory. Since the cleanup job runs globally after
every test, it should take that into consideration and not error out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They caused issues because they might not have created the database
tables or the data directory. Since the cleanup job runs globally after
every test, it should take that into consideration and not error out.
</pre>
</div>
</content>
</entry>
</feed>
