Skip to content

Commit

Permalink
fix failing tests by removing then :^)
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Jan 21, 2023
1 parent 184e23e commit cbfb463
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/basic_features/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ def setUp(self):
self.url_face_restorers = "http://localhost:7860/sdapi/v1/face-restorers"
self.url_realesrgan_models = "http://localhost:7860/sdapi/v1/realesrgan-models"
self.url_prompt_styles = "http://localhost:7860/sdapi/v1/prompt-styles"
self.url_artist_categories = "http://localhost:7860/sdapi/v1/artist-categories"
self.url_artists = "http://localhost:7860/sdapi/v1/artists"
self.url_embeddings = "http://localhost:7860/sdapi/v1/embeddings"

def test_options_get(self):
Expand Down Expand Up @@ -56,15 +54,9 @@ def test_realesrgan_models(self):

def test_prompt_styles(self):
self.assertEqual(requests.get(self.url_prompt_styles).status_code, 200)

def test_artist_categories(self):
self.assertEqual(requests.get(self.url_artist_categories).status_code, 200)

def test_artists(self):
self.assertEqual(requests.get(self.url_artists).status_code, 200)

def test_embeddings(self):
self.assertEqual(requests.get(self.url_artists).status_code, 200)
self.assertEqual(requests.get(self.url_embeddings).status_code, 200)

if __name__ == "__main__":
unittest.main()

2 comments on commit cbfb463

@Fresh-glitch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a certified classic 😂

@JoshuaSchoemmell
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gave me a genuine chuckle.

Please sign in to comment.