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 django.db import models | |
from django.contrib.auth.models import User | |
from django.contrib.auth.models import Group | |
from django.apps import apps | |
import evelink.eve | |
import evelink.api | |
class EveItem(models.Model): |
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 django.db import models | |
class EveAccount(models.Model): | |
name = models.CharField(max_length=64) | |
crest_token = models.CharField(max_length=256) | |
crest_expiration = models.DateTimeField() | |
refresh_token = models.CharField(max_length=256) | |
This file has been truncated, but you can view the full file.
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
py.test kuma | |
============================= test session starts ============================== | |
platform linux2 -- Python 2.7.6, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 | |
django settings: kuma.settings.testing (from environment variable) | |
rootdir: /home/vagrant/src, inifile: pytest.ini | |
plugins: django-2.9.1, cov-2.2.1 | |
collected 729 items | |
kuma/attachments/tests/test_models.py ........ | |
kuma/attachments/tests/test_templates.py F |
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
{ | |
"type": "danger", | |
"message": "Mot de passe incorrect !" | |
} |
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
def test_to_internal_value_with_null(self): | |
feature = self.create( | |
Feature, slug='the_feature', name={'en': 'The Feature'}) | |
history = feature.history.all()[0] | |
testData = {'id': 1, 'current_history': 'null', 'date': '2016-03-23T19:17:04+00:00'} | |
serializer = HistoricalFeatureSerializer() | |
self.assertRaises((serializer.to_internal_value(testData)), ValidationError) |
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
#include<stdio.h> | |
#include<string.h> | |
#include<stdlib.h> | |
#include<unistd.h> | |
#include<fcntl.h> | |
#define BUF_SIZE 180 | |
#define TEL_SIZE 17 |
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
public class ListeDouble extends ListeSimple { | |
private Vecteur monVecteur; | |
public ListeDouble(){ | |
monVecteur = new VecteurTable(); | |
} | |
public int taille(){ | |
return monVecteur.taille(); | |
} |
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
1213 | |
23 | |
aezezr | |
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
[config] | |
; Path to the data root folder. TMX files will be stored in root/TMX so that | |
; they could be shared between multiple versions of Transvision | |
root=/Users/anthony/transvision/data/ | |
; Path to the local Mercurial clones, both en-US and l10n. Could be external | |
; to the Git checkout of Transvision, as long as scripts have access to it. | |
local_hg=/Users/anthony/transvision/data/hg |
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
Generate list of locales and supported Gaia versions | |
PHP Warning: parse_ini_file(/config.ini): failed to open stream: No such file or directory in /Users/anthony/Mozilla/transvision/app/scripts/generate_sources on line 21 | |
Warning: parse_ini_file(/config.ini): failed to open stream: No such file or directory in /Users/anthony/Mozilla/transvision/app/scripts/generate_sources on line 21 | |
Missing l10nwebservice parameter in config.ini | |
Checking if Transvision sources are available... | |
CRITICAL ERROR: no sources available, aborting. | |
Check the value for l10nwebservice in your config.ini |