mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Explicitly set billing to off in the test for being able to index a large set of data
This commit is contained in:
parent
b2afbaa315
commit
73e38fccf3
1 changed files with 2 additions and 1 deletions
|
@ -128,8 +128,8 @@ def test_regenerate_with_invalid_content_type(client):
|
|||
# ----------------------------------------------------------------------------------------------------
|
||||
@pytest.mark.django_db(transaction=True)
|
||||
def test_index_update_big_files(client):
|
||||
state.billing_enabled = True
|
||||
# Arrange
|
||||
state.billing_enabled = True
|
||||
files = get_big_size_sample_files_data()
|
||||
headers = {"Authorization": "Bearer kk-secret"}
|
||||
|
||||
|
@ -143,6 +143,7 @@ def test_index_update_big_files(client):
|
|||
@pytest.mark.django_db(transaction=True)
|
||||
def test_index_update_big_files_no_billing(client):
|
||||
# Arrange
|
||||
state.billing_enabled = False
|
||||
files = get_big_size_sample_files_data()
|
||||
headers = {"Authorization": "Bearer kk-secret"}
|
||||
|
||||
|
|
Loading…
Reference in a new issue