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
<!-- The path and name for this file should be "templates/rest_framework/api.html". --> | |
<!-- It overrides the original browsable API template and will be picked up by all of its children. --> | |
<!-- This template override has been verified for Django 2.0. --> | |
{% extends "rest_framework/base.html" %} | |
{% load static %} | |
{% block style %} | |
{{ block.super }} |
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 | |
from com.automationpanda.example.calc_class import Calculator | |
# "Constants" | |
NUMBER_1 = 3.0 | |
NUMBER_2 = 2.0 | |
# Fixtures |
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 com.automationpanda.example.calc_func import * | |
class Calculator(object): | |
def __init__(self): | |
self._last_answer = 0.0 | |
@property | |
def last_answer(self): | |
return self._last_answer |
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 | |
from com.automationpanda.example.calc_func import * | |
NUMBER_1 = 3.0 | |
NUMBER_2 = 2.0 | |
def test_add(): | |
value = add(NUMBER_1, NUMBER_2) | |
assert value == 5.0 |
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
# Compiled class file | |
*.class | |
# Log file | |
*.log | |
# BlueJ files | |
*.ctxt | |
# Mobile Tools for Java (J2ME) |
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
<?xml version="1.0"?> | |
<package > | |
<metadata> | |
<id>$id$</id> | |
<version>$version$</version> | |
<title>$title$</title> | |
<authors>$author$</authors> | |
<owners>$author$</owners> | |
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<packageSources> | |
<add key="nuget.org" value="https://www.nuget.org/api/v2/" /> | |
<add key="my.company.com" value="https://my.company.com/httpAuth/app/nuget/v1/FeedService.svc/" /> | |
</packageSources> | |
</configuration> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="FluentAssertions" version="5.4.1" targetFramework="net461" /> | |
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net461" /> | |
<package id="SpecFlow" version="2.4.0" targetFramework="net461" /> | |
<package id="SpecRun.Runner" version="1.8.0" targetFramework="net461" /> | |
<package id="SpecRun.SpecFlow" version="1.8.0" targetFramework="net461" /> | |
<package id="SpecRun.SpecFlow.2-4-0" version="1.8.0" targetFramework="net461" /> | |
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" /> | |
</packages> |
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
.i18n_flag img { | |
width: 16px; | |
vertical-align: text-top; | |
} |
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
{% extends "admin/base_site.html" %} | |
{% load static %} | |
{% load i18n %} | |
<!-- custom filter module --> | |
{% load i18n_switcher %} | |
{% block extrahead %} | |
<link rel="shortcut icon" href="{% static 'images/favicon.ico' %}" /> |
NewerOlder