1
|
#!/usr/bin/env pytest
|
2
|
|
3
|
# This file is part of Haketilo
|
4
|
#
|
5
|
# Copyright (C) 2021, 2022 Wojtek Kosior <koszko@koszko.org>
|
6
|
#
|
7
|
# This program is free software: you can redistribute it and/or modify
|
8
|
# it under the terms of the CC0 1.0 Universal License as published by
|
9
|
# the Creative Commons Corporation.
|
10
|
#
|
11
|
# This program is distributed in the hope that it will be useful,
|
12
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
# CC0 1.0 Universal License for more details.
|
15
|
|
16
|
[pytest]
|
17
|
markers =
|
18
|
ext_data: define a custom testing extension for `webextension` fixture.
|
19
|
get_page: define a url the `driver` fixture should navigate the browser to.
|
20
|
second_driver: tell `driver` fixture to spawn a separate browser instance for this test.
|
21
|
testpaths =
|
22
|
<<SRCDIR>>/test/haketilo_test
|