• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

omaciel / fauxfactory / 166
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v2.1.2
DEFAULT BRANCH: master
Ran 30 Sep 2014 08:06PM UTC
Jobs 3
Files 2
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
166

push

travis-ci

omaciel
Display deprecation warning for ``FauxFactory``.

Now when someone imports ``FauxFactory`` and uses any of its 'older'
functions, a deprecation warning message will be displayed as shown
below:

```python
In [1]: from fauxfactory import FauxFactory
fauxfactory/__init__.py:723: Warning: The FauxFactory class is deprecated. Please use functions from the fauxfactory module instead.
  category=Warning)

In [2]: FauxFactory.generate_alpha()
fauxfactory/__init__.py:696: Warning: Function generate_alpha is now deprecated! Please update your your code to use the gen_alpha function instead.
  warnings.warn(warn_message.format(name, new_name), category=Warning)
Out[2]: u'miRSshikjd'
```

Tests included. Closes #51.

322 of 323 relevant lines covered (99.69%)

2.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 166.1 30 Sep 2014 08:06PM UTC 0
97.52
Travis Job 166.1
2 166.2 30 Sep 2014 08:08PM UTC 0
99.38
Travis Job 166.2
3 166.3 30 Sep 2014 08:07PM UTC 0
99.38
Travis Job 166.3
Source Files on build 166
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #166
  • e8d44071 on github
  • Next Build on deprecated (#168)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc