github
1891 of 2131 branches covered (88.74%)
65 of 72 new or added lines in 13 files covered. (90.28%)
26 existing lines in 3 files now uncovered.9072 of 9427 relevant lines covered (96.23%)
0.96 hits per line
1 |
# mypy: disallow_untyped_defs=False
|
|
UNCOV
2
|
from ._abstract import AbstractScraper |
× |
3 |
|
|
4 |
|
|
5 |
# TODO: Remove? Switching over to GoustoJson 2022-08-01
|
|
UNCOV
6
|
class Gousto(AbstractScraper): |
× |
UNCOV
7
|
@classmethod
|
× |
UNCOV
8
|
def host(cls): |
× |
UNCOV
9
|
return "gousto.co.uk" |
× |
10 |
|
|
UNCOV
11
|
def title(self): |
× |
UNCOV
12
|
return self.schema.title() |
× |
13 |
|
|
UNCOV
14
|
def total_time(self): |
× |
UNCOV
15
|
return self.schema.total_time() |
× |
16 |
|
|
UNCOV
17
|
def yields(self): |
× |
UNCOV
18
|
return self.schema.yields() |
× |
19 |
|
|
UNCOV
20
|
def image(self): |
× |
21 |
return self.schema.image() |
× |
22 |
|
|
UNCOV
23
|
def ingredients(self): |
× |
UNCOV
24
|
return self.schema.ingredients() |
× |
25 |
|
|
UNCOV
26
|
def instructions(self): |
× |
UNCOV
27
|
return self.schema.instructions() |
× |
28 |
|
|
UNCOV
29
|
def ratings(self): |
× |
UNCOV
30
|
return self.schema.ratings() |
× |