test_checkbox
19 def teardown_method(self, method):
20 self.driver.quit()
21
22 def test_checkbox(self):23 self.driver.get("https://www.swtest.cz/")
24 self.driver.set_window_size(1920, 1032)
25 elements = self.driver.find_elements(By.XPATH, "//label[1]/input[@type=\"checkbox\"]")
teardown_method
16 self.driver = webdriver.Chrome()
17 self.vars = {}
18
19 def teardown_method(self, method):20 self.driver.quit()
21
22 def test_checkbox(self):
setup_method
12
13
14class TestCheckbox():
15 def setup_method(self, method):16 self.driver = webdriver.Chrome()
17 self.vars = {}
18
nasobit
6 return x-y
7
8
9def nasobit(x,y):10 return x*y
11
odecist
2 return x+y
3
4
5def odecist(x,y): 6 return x-y
7
8
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.