nihardon commited on
Commit
d0ee943
·
verified ·
1 Parent(s): 99c9e3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -58,6 +58,11 @@ def generate_test(user_code):
58
 
59
  ### Instruction:
60
  You are an expert Python QA engineer. Write a pytest unit test for the following function.
 
 
 
 
 
61
 
62
  ### Input:
63
  {user_code}
 
58
 
59
  ### Instruction:
60
  You are an expert Python QA engineer. Write a pytest unit test for the following function.
61
+ Rules:
62
+ 1. Use the 'pytest' framework.
63
+ 2. Do NOT use 'unittest.TestCase' classes.
64
+ 3. Use simple functions starting with 'test_'.
65
+ 4. Include assert statements.
66
 
67
  ### Input:
68
  {user_code}