Compare commits
2 Commits
11ce2f16a4
...
e2eTesting
| Author | SHA1 | Date | |
|---|---|---|---|
| db83438bae | |||
| 7dbdcdcd4f |
@@ -7,7 +7,7 @@
|
||||
<a href="{{ url_for('main.products.product', id=product.id) }}" class="product product-link">
|
||||
<div class="product-title">{{product.name}}</div>
|
||||
<div class="product-content-container">
|
||||
<img class="product-image-preview" src="{{ url_for('static', filename='assets/img/products/' + product.image) }}" alt="Brake Disks" />
|
||||
<img class="product-image-preview" src="{{ url_for('static', filename='assets/img/products/' + product.image) }}" alt="Brake Disks" loading="lazy"/>
|
||||
|
||||
<div class="product-details">
|
||||
<div class="product-price">£{{product.cost}}</div>
|
||||
|
||||
@@ -26,7 +26,7 @@ class TestBase:
|
||||
|
||||
def teardown_class(self):
|
||||
""" Teardown class level resources or configurations """
|
||||
pass
|
||||
os.environ["ENVIRON"] = self.old_env
|
||||
|
||||
@pytest.fixture(scope="class")
|
||||
def test_client(self) -> FlaskClient:
|
||||
|
||||
Reference in New Issue
Block a user